Skip to content

Commit

Permalink
forcing cache update
Browse files Browse the repository at this point in the history
  • Loading branch information
ruisebas committed Aug 30, 2023
1 parent 682f99b commit 54d35b8
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build_amplify_swift_for_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
key: amplify-packages-${{ hashFiles('Package.resolved') }}
restore-keys: |
amplify-packages-
- name: Attempt to restore the build cache
- name: Restore the build cache
id: cache-build
timeout-minutes: 4
continue-on-error: true
Expand All @@ -53,11 +53,10 @@ jobs:
disable_package_resolution: ${{ steps.cache-packages.outputs.cache-hit }}
build_for_testing: true
other_flags: '-derivedDataPath Build -clonedSourcePackagesDirPath ~/Library/Developer/Xcode/DerivedData/Amplify'
- name: Save the build cache
uses: actions/cache/save@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
with:
path: ${{ github.workspace }}/Build
key: amplify-iOS-latest-build-main
- name: Enforce a cache update
run: |
CACHE_KEY="amplify-iOS-latest-build-main-$GITHUB_SHA"
echo "CACHE_RESULT=${CACHE_KEY}" >> $GITHUB_ENV
build-for-testing-amplify-swift-macOS:
runs-on: macos-13
Expand Down

0 comments on commit 54d35b8

Please sign in to comment.