From 6aa89685e6f0449cfde39ab92c9bf40a35d7d3b1 Mon Sep 17 00:00:00 2001 From: YuKongA <1348547200@qq.com> Date: Fri, 11 Mar 2022 21:15:25 +0800 Subject: [PATCH] Upload Apk --- .github/workflows/android.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 776aeed2..f8a50cc3 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -32,12 +32,24 @@ jobs: path: | ~/.gradle/caches/build-cache-* key: gradle-builds-${{ github.sha }} - - name: init submodule + + - name: Init Submodule run: | git submodule init git submodule update - - name: Grant execute permission for gradlew - run: chmod +x gradlew + - name: Build with Gradle - run: ./gradlew build + 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"