Merge pull request #210 from mngoe/OP-2519 #130
This file contains hidden or 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: show gradlew permission | |
| run: | | |
| chmod +x gradlew | |
| - name: build | |
| run: | | |
| ./gradlew assembleDebug --stacktrace | |
| - name: Environment info | |
| run: | | |
| gradle --version | |
| - uses: actions/upload-artifact@v4 | |
| 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@v4 | |
| with: | |
| name: openimis-policies-aab-${{github.run_number}}-${{github.sha}} | |
| path: ./app/build/outputs/**/*.aab |