add a widget #237
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 | |
on: [push] | |
jobs: | |
build-debug: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Repo Visualizer | |
uses: githubocto/repo-visualizer@0.8.2 | |
- name: build app apk | |
run: ./gradlew :app:assembleChargeDebug; | |
- name: build imitate apk | |
run: ./gradlew :imitate:assembleDebug; | |
build-release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: build app apk | |
run: ./gradlew :app:assembleChargeRelease; | |
- name: build imitate apk | |
run: ./gradlew :imitate:assembleRelease; |