Skip to content

Commit

Permalink
Also save cache if build failed.
Browse files Browse the repository at this point in the history
We only cache dependencies (which should not fail to build).
Caching partial or failed build allows for faster iteration while fixing
the workflow file as the llvm build will not always restart from scratch.
  • Loading branch information
Felix-Rm committed Sep 3, 2024
1 parent f2edfa7 commit ed3b4cf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ jobs:

- name: Build
run: .github/workflows/build-ci.sh
- uses: actions/cache/save@v3
if: always()
with:
path: |
- llvm
- upmem
key: cinnamon-dependencies-${{ runner.os }}

- name: Test
working-directory: cinnamon/build
Expand Down

0 comments on commit ed3b4cf

Please sign in to comment.