From bd2e3fcbc5f6912639e49620c61d8dc7761c9753 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 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 113ab8b..aa4b7a4 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 + 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: .