Skip to content

Commit

Permalink
GHA updates
Browse files Browse the repository at this point in the history
  • Loading branch information
boorad committed Mar 25, 2024
1 parent d7f2aa9 commit dd6164d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Setup JDK 11
- name: Setup JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17

- uses: actions/setup-node@v4
with:
Expand All @@ -40,7 +40,7 @@ jobs:
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Restore node_modules from cache
uses: actions/cache@v3
uses: actions/cache@v4
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand All @@ -53,7 +53,7 @@ jobs:
run: yarn install --frozen-lockfile --cwd example

- name: Restore Gradle cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/build-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Restore node_modules from cache
uses: actions/cache@v3
uses: actions/cache@v4
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand All @@ -51,8 +51,12 @@ jobs:
bundler-cache: true
working-directory: example/ios

- name: Upgrade RubyGems
run: |
gem update --system 3.2.3
- name: Restore Pods cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
example/ios/Pods
Expand Down

0 comments on commit dd6164d

Please sign in to comment.