Merge pull request #174 from YkSix/update-readme-package-signature-se… #122
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 Pull Request & Master CI | |
on: | |
pull_request: | |
branches: | |
- 'master' | |
push: | |
branches: | |
- 'master' | |
jobs: | |
test: | |
name: Run Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Unit tests | |
run: bash ./gradlew :line-sdk:testDebugUnitTest --stacktrace | |
lib: | |
name: Generate SDK library | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: set up JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Build debug APK | |
run: bash ./gradlew :line-sdk:assembleDebug --stacktrace | |
- name: Upload APK | |
uses: actions/upload-artifact@v3 | |
with: | |
name: line-sdk | |
path: line-sdk/build/outputs/aar/line-sdk-*-debug.aar |