Skip to content

Commit

Permalink
[Feature] Upload artifact for GitHub Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghai committed Mar 26, 2022
1 parent 6256e71 commit 82b7a6a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,17 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- name: Build with Gradle
run: ./gradlew assembleDebug lintVitalRelease
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: app-debug.apk
path: app/build/outputs/apk/debug/app-debug.apk
retention-days: 10

0 comments on commit 82b7a6a

Please sign in to comment.