From ea568855a754a9ce1b0fcc9f421a1eec4e6140e3 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Wed, 31 Jan 2024 20:48:05 +0100 Subject: [PATCH] chore: Fix GitHub Action CocoaPods cache misses (#2491) * chore: Fix GitHub Action CocoaPods cache misses * Only use Pods directory --- .github/workflows/build-ios.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-ios.yml b/.github/workflows/build-ios.yml index a26d060..bbf434d 100644 --- a/.github/workflows/build-ios.yml +++ b/.github/workflows/build-ios.yml @@ -54,12 +54,9 @@ jobs: working-directory: package/example/ios - name: Restore Pods cache - uses: actions/cache@v4 + uses: actions/cache@v3 with: - path: | - package/example/ios/Pods - ~/Library/Caches/CocoaPods - ~/.cocoapods + path: package/example/ios/Pods key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} restore-keys: | ${{ runner.os }}-pods- @@ -116,12 +113,9 @@ jobs: working-directory: package/example/ios - name: Restore Pods cache - uses: actions/cache@v4 + uses: actions/cache@v3 with: - path: | - package/example/ios/Pods - ~/Library/Caches/CocoaPods - ~/.cocoapods + path: package/example/ios/Pods key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} restore-keys: | ${{ runner.os }}-pods-