Skip to content

Commit

Permalink
chore: Fixing continue-on-error
Browse files Browse the repository at this point in the history
  • Loading branch information
ruisebas committed Apr 24, 2024
1 parent c948751 commit f383565
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_scheme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
id: dependencies-cache
if: inputs.use_cache
timeout-minutes: 4
continue-on-error: ${{ inputs.use_cache }}
continue-on-error: true
uses: actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
with:
path: ~/Library/Developer/Xcode/DerivedData/Amplify
Expand All @@ -59,15 +59,15 @@ jobs:
id: build-cache
if: inputs.use_cache
timeout-minutes: 4
continue-on-error: ${{ inputs.use_cache }}
continue-on-error: true
uses: actions/cache/restore@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
with:
path: ${{ github.workspace }}/Build
key: Amplify-${{ inputs.platform }}-build-cache

- name: Build ${{ inputs.scheme }}
id: build-package
continue-on-error: ${{ inputs.use_cache }}
continue-on-error: true
uses: ./.github/composite_actions/run_xcodebuild
with:
scheme: ${{ inputs.scheme }}
Expand All @@ -89,7 +89,7 @@ jobs:
if: inputs.use_cache && steps.build-cache.outputs.cache-hit && github.ref_name == 'main'
env:
GH_TOKEN: ${{ github.token }}
continue-on-error: ${{ inputs.use_cache }}
continue-on-error: true
run: |
gh cache delete ${{ steps.build-cache.outputs.cache-primary-key }}
Expand Down

0 comments on commit f383565

Please sign in to comment.