Fix OP-1602 (#183) #115
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: CI | |
on: | |
push: | |
branches: | |
- '*' | |
# tags: | |
# - '!v*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
cache: 'gradle' | |
- name: Environment info | |
run: | | |
gradle --version | |
- name: build | |
run: | | |
./gradlew assembleDebug --stacktrace | |
- name: Environment info | |
run: | | |
gradle --version | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: openimis-policies-apk-${{github.run_number}}-${{github.sha}} | |
path: ./app/build/outputs/**/*.apk | |
- name: build | |
run: | | |
./gradlew bundleDebug --stacktrace | |
- name: Environment info | |
run: | | |
gradle --version | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: openimis-policies-aab-${{github.run_number}}-${{github.sha}} | |
path: ./app/build/outputs/**/*.aab |