Merge pull request #106 from mngoe/OP-2545 #77
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 11 | |
| uses: actions/setup-java@v2 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '11' | |
| 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-claims-apk-${{github.run_number}}-${{github.sha}} | |
| path: ./claimManagement/build/outputs/**/*.apk | |
| - name: build | |
| run: | | |
| ./gradlew bundleDebug --stacktrace | |
| - name: Environment info | |
| run: | | |
| gradle --version | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: openimis-claims-aab-${{github.run_number}}-${{github.sha}} | |
| path: ./claimManagement/build/outputs/**/*.aab |