diff --git a/.github/workflows/build-android.yml b/.github/workflows/build-android.yml index 9225c6b..86de72f 100644 --- a/.github/workflows/build-android.yml +++ b/.github/workflows/build-android.yml @@ -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: @@ -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 }} @@ -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 diff --git a/.github/workflows/build-ios.yml b/.github/workflows/build-ios.yml index 3cffcd5..9af7b6d 100644 --- a/.github/workflows/build-ios.yml +++ b/.github/workflows/build-ios.yml @@ -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 }} @@ -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