Skip to content

Commit

Permalink
Remove run_attempt logic for pods as well
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Jun 8, 2023
1 parent 6a3c5b8 commit 79bd37d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/platformDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,12 @@ jobs:

- uses: actions/cache@v3
id: cache-pods
if: github.run_attempt == '1'
with:
path: ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}

- name: Install cocoapods
if: github.run_attempt != '1' || steps.cache-pods.outputs.cache-hit != 'true'
if: steps.cache-pods.outputs.cache-hit != 'true'
uses: nick-invision/retry@0711ba3d7808574133d713a0d92d2941be03a350
with:
timeout_minutes: 10
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/testBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,12 @@ jobs:

- uses: actions/cache@v3
id: cache-pods
if: github.run_attempt == '1'
with:
path: ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}

- name: Install cocoapods
if: github.run_attempt != '1' || steps.cache-pods.outputs.cache-hit != 'true'
if: steps.cache-pods.outputs.cache-hit != 'true'
uses: nick-invision/retry@0711ba3d7808574133d713a0d92d2941be03a350
with:
timeout_minutes: 10
Expand Down

0 comments on commit 79bd37d

Please sign in to comment.