From 7f594983ff86c30e938d3f99d34ad52be4529327 Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Tue, 12 Nov 2024 19:54:25 +0100 Subject: [PATCH] Update actions steps to fix build --- .github/workflows/ci.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 113ab8b..ada4e85 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,20 +5,21 @@ jobs: name: Build runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 20 + distribution: adopt-hotspot - name: Setup Android SDK - uses: android-actions/setup-android@v2 + uses: android-actions/setup-android@v3 - name: Build release run: ./gradlew assembleRelease - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: unsigned-app.apk path: app/build/outputs/apk/release/app-release-unsigned.apk @@ -31,7 +32,7 @@ jobs: if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') steps: - name: Get the APK - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4 with: name: unsigned-app.apk path: .