Skip to content

Commit

Permalink
fix iOS CI pods restore
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandkakonyi committed Jul 8, 2024
1 parent 0998f2f commit d3c5f16
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-ios-tvos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
path: |
.cocoapods-cache
example/ios/Pods
key: pods-${{ hashFiles('example/ios/Podfile.lock') }}
key: pods-${{ hashFiles('example/ios/Podfile.lock') }}-${{ hashFiles('integration_test/ios/Podfile.lock') }}
restore-keys: pods-

- name: Install pods
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/create-sdk-update-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,18 @@ jobs:
uses: ./.github/actions/setup-environment
with:
node: true
restore-pods: true
brew: true

- name: Restore Pods cache
id: pods-cache-restore
uses: actions/cache/restore@v3
with:
path: |
.cocoapods-cache
example/ios/Pods
key: pods-${{ hashFiles('example/ios/Podfile.lock') }}-${{ hashFiles('integration_test/ios/Podfile.lock') }}
restore-keys: pods-

- name: Bump iOS player SDK version
if: ${{ inputs.sdk_name == 'ios' }}
run: |
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/start-release-train.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,16 @@ jobs:
uses: ./.github/actions/setup-environment
with:
node: true
restore-pods: true

- name: Restore Pods cache
id: pods-cache-restore
uses: actions/cache/restore@v3
with:
path: |
.cocoapods-cache
example/ios/Pods
key: pods-${{ hashFiles('example/ios/Podfile.lock') }}-${{ hashFiles('integration_test/ios/Podfile.lock') }}
restore-keys: pods-

- name: Set Release Branch name
id: branching
Expand Down

0 comments on commit d3c5f16

Please sign in to comment.