mirror of
https://github.com/LittleTurtle2333/SimplicityTools.git
synced 2026-07-12 11:21:18 +08:00
Upload Apk
This commit is contained in:
22
.github/workflows/android.yml
vendored
22
.github/workflows/android.yml
vendored
@@ -32,12 +32,24 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
~/.gradle/caches/build-cache-*
|
~/.gradle/caches/build-cache-*
|
||||||
key: gradle-builds-${{ github.sha }}
|
key: gradle-builds-${{ github.sha }}
|
||||||
- name: init submodule
|
|
||||||
|
- name: Init Submodule
|
||||||
run: |
|
run: |
|
||||||
git submodule init
|
git submodule init
|
||||||
git submodule update
|
git submodule update
|
||||||
- name: Grant execute permission for gradlew
|
|
||||||
run: chmod +x gradlew
|
- name: Build with Gradle
|
||||||
- name: Build with Gradle
|
run: bash ./gradlew assemble
|
||||||
run: ./gradlew build
|
|
||||||
|
- 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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user