Skip to content

Commit

Permalink
fix: use better cache
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Oct 25, 2024
1 parent da7b4f1 commit 8bfaa5c
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/bump_and_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,12 @@ jobs:
- name: Cache Gradle packages
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Set execute permissions for gradlew
run: chmod +x android/gradlew
- name: Verify Android
Expand Down Expand Up @@ -106,10 +109,10 @@ jobs:
- name: Cache Pods
uses: actions/cache@v4
with:
path: ios/Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
restore-keys: |
${{ runner.os }}-pods-
${{ runner.os }}-spm-
- name: Verify iOS
run: pnpm verify:ios

Expand Down

0 comments on commit 8bfaa5c

Please sign in to comment.