From e3909c59967bd724209819e547b78756a5952c3d Mon Sep 17 00:00:00 2001 From: Ketal <41381927+keta1@users.noreply.github.com> Date: Tue, 15 Mar 2022 01:05:33 +0800 Subject: [PATCH] Update android.yml (#76) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update android.yml * Update android.yml Co-authored-by: 乌堆小透明 --- .github/workflows/android.yml | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index f8a50cc3..12d0419f 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -13,10 +13,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: set up JDK 11 + with: + submodules: 'recursive' + - name: set up JDK 17 uses: actions/setup-java@v2 with: - java-version: '11' + java-version: '17' distribution: 'temurin' cache: gradle - uses: actions/cache@v2 @@ -32,24 +34,9 @@ jobs: path: | ~/.gradle/caches/build-cache-* key: gradle-builds-${{ github.sha }} - - name: Init Submodule run: | git submodule init git submodule update - - name: Build with Gradle - run: bash ./gradlew assemble - - - name: Upload Release APK - uses: actions/upload-artifact@v2 - with: - name: SimplicityTools_Release - path: "app/build/outputs/apk/release/*.apk" - - - name: Upload Debug APK - uses: actions/upload-artifact@v2 - with: - name: Simplicity Tools_Debug - path: "app/build/outputs/apk/debug/*.apk" - + run: bash ./gradlew :app:packageDebug