From ff26ebbc6a61b664570d4d0165ad79ead2dd1a8a Mon Sep 17 00:00:00 2001 From: segfault-bilibili <80713224+segfault-bilibili@users.noreply.github.com> Date: Tue, 25 Oct 2022 14:11:08 +0800 Subject: [PATCH] Update android.yml --- .github/workflows/android.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 8765929..d074e54 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -6,20 +6,22 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Code Checkout - uses: actions/checkout@v1 + - name: Checkout + uses: actions/checkout@v2.5.0 - name: Extract Signature run: echo ${{secrets.KEY_FILE}} | base64 -d > $HOME/.android.jks - - name: set up JDK 1.8 - uses: actions/setup-java@v1 + - name: set up JDK 11 + uses: actions/setup-java@v3 with: - java-version: 1.8 + java-version: '11' + distribution: 'temurin' + cache: gradle - name: Build with Gradle run: ./gradlew assembleRelease env: KEY_PASS: ${{secrets.KEY_PASS}} - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3.1.1 with: name: ShadowsocksGostPlugin.apk path: app/build/outputs/apk/release/app-release.apk