Skip to content

Commit ada6984

Browse files
committed
fix: use different cache keys (Pods, ccache)
1 parent d1dd403 commit ada6984

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ios-e2e-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
uses: hendrikmuhs/ccache-action@v1.2
6868
with:
6969
max-size: 1.5G
70-
key: ${{ runner.os }}-ccache-e2e-ios
70+
key: ${{ runner.os }}-xcode-${{ matrix.config.xcode }}-ccache-e2e-ios
7171
create-symlink: true
7272
- name: Setup ccache behavior
7373
run: |
@@ -82,9 +82,9 @@ jobs:
8282
example/ios/Pods
8383
~/Library/Caches/CocoaPods
8484
~/.cocoapods
85-
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
85+
key: ${{ runner.os }}-xcode-${{ matrix.config.xcode }}-pods-${{ hashFiles('**/Podfile.lock') }}
8686
restore-keys: |
87-
${{ runner.os }}-pods-
87+
${{ runner.os }}-xcode-${{ matrix.config.xcode }}-pods-
8888
- name: Install pods
8989
working-directory: ${{ env.WORKING_DIRECTORY }}/ios
9090
run: export USE_CCACHE=1 && pod install || pod update --repo-update

0 commit comments

Comments
 (0)