This commit is contained in:
jiroshimonis@gmail.com
2022-09-26 13:38:21 +08:00
parent 2da7260ec9
commit 9814c3ad8c
7 changed files with 292 additions and 119 deletions

View File

@@ -19,17 +19,17 @@ jobs:
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
- name: build-tools
run: sdkmanager "build-tools;29.0.3"
run: sdkmanager "build-tools;30.0.3"
- name: Add Android SDK to PATH
run: echo "${ANDROID_HOME}/build-tools/29.0.3" >> $GITHUB_PATH
run: echo "${ANDROID_HOME}/build-tools/30.0.3" >> $GITHUB_PATH
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew buildDex
run: ./gradlew deploy
- name: Upload a Build Artifact (dexed)
uses: actions/upload-artifact@v2.2.1
with:
name: informatis built by action
path: build/libs/raw-*.jar
path: build/libs/*.jar