diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6c6f7d5..9b0ecbc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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: |