Skip to content

Commit

Permalink
fix cache keys in deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
417-72KI committed Jul 4, 2024
1 parent 1da3121 commit b8f5a79
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ jobs:
- uses: actions/checkout@v4
- name: Cache SPM build directory
uses: actions/cache@v4
env:
cache-name: swiftpm
with:
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.swift') }}
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/Package.swift') }}
restore-keys: |
${{ runner.os }}-spm-${{ env.cache-name }}-
${{ runner.os }}-spm-
${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}
${{ runner.os }}-${{ github.job }}
${{ runner.os }}-
- id: set-xcode-version
run: |
Expand Down

0 comments on commit b8f5a79

Please sign in to comment.