Skip to content

Commit

Permalink
Don't save cache if llvm sha given
Browse files Browse the repository at this point in the history
  • Loading branch information
Zentrik committed Sep 6, 2024
1 parent 5ae8c84 commit 7d57a5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@ jobs:
id: cache_timestamp
run: echo "timestamp=$(date +%s)" >> "$GITHUB_OUTPUT"
- name: Cache BinaryBuilder Storage Directory
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master' && !${{ github.event.inputs.LLVM_VERSION }}
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/binarybuilder_storage
key: ${{ matrix.target }}-${{ steps.cache_timestamp.outputs.timestamp }}
restore-keys: |
${{ matrix.target }}
- name: Restore Cached BinaryBuilder Storage Directory
if: github.ref != 'refs/heads/master'
if: github.ref != 'refs/heads/master' || ${{ github.event.inputs.LLVM_VERSION }}
uses: actions/cache/restore@v4
with:
path: ${{ github.workspace }}/binarybuilder_storage
Expand Down

0 comments on commit 7d57a5d

Please sign in to comment.