拦截删除代码时可能发生的崩溃 #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android CI test | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- "README.md" | |
- "README_en.md" | |
pull_request: | |
paths-ignore: | |
- "README.md" | |
- "README_en.md" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Setup Android SDK | |
uses: android-actions/setup-android@v3 | |
- name: Build with Gradle | |
run: | | |
chmod 777 ./gradlew | |
./gradlew :inrt:assemble | |
./gradlew :app:assembleRelease | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: apks(no signing) | |
path: app/build/outputs/apk/v6/release/* |