From 0fd520452ec0c50a25de76f7b833b38fc68413b8 Mon Sep 17 00:00:00 2001 From: Mingshen Sun Date: Wed, 30 Dec 2020 15:06:51 -0800 Subject: [PATCH] Fix pod caching issue --- .github/workflows/testing.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 9251cc3..3068b61 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -14,9 +14,9 @@ jobs: - uses: actions/cache@v2 with: path: vendor/bundle - key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }} + key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} restore-keys: | - ${{ runner.os }}-gem- + ${{ runner.os }}-gems- - uses: actions/cache@v2 id: carthage-cache with: @@ -38,7 +38,9 @@ jobs: restore-keys: | ${{ runner.os }}-gopenpgp- - name: Bundle Install - run: bundle install --deployment + run: | + bundle config path vendor/bundle + bundle install --jobs 4 --retry 3 - name: Cocoapods run: bundle exec pod install - name: Carthage