Skip to content

Commit

Permalink
GitHub Actions: run tests, add names to steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxr1998 committed Sep 8, 2020
1 parent cc20fb7 commit 3aab142
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,21 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: ./gradlew assembleRelease
- uses: actions/upload-artifact@v1
- name: Checkout code
uses: actions/checkout@v2
- name: Cache Gradle wrapper and dependencies
uses: actions/cache@v2
with:
path: |
~/.gradle/wrapper/dists
~/.gradle/caches
key: gradle-cache
- name: Run tests
run: ./gradlew test
- name: Assemble library
run: ./gradlew assembleRelease
- name: Upload compiled AAR
uses: actions/upload-artifact@v1
with:
name: ModernAndroidPreferences-release.aar
path: library/build/outputs/aar/library-release.aar

0 comments on commit 3aab142

Please sign in to comment.