Skip to content

Commit

Permalink
Merge pull request #20439 from Expensify/Rory-FixPodCacheAgain
Browse files Browse the repository at this point in the history
[No QA] Fix pod caching logic
  • Loading branch information
stitesExpensify authored Jun 8, 2023
2 parents c467941 + d0dcf1a commit 81b631b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/platformDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,14 @@ jobs:
bundler-cache: true

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

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

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

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

0 comments on commit 81b631b

Please sign in to comment.