update all dependencies, gradle 9, read version code from git #144
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: Bible CI | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| java: [ '17' ] | |
| environment: build | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup JDK ${{ matrix.java }} | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'zulu' | |
| java-version: ${{ matrix.java }} | |
| check-latest: true | |
| - name: Build with Gradle | |
| env: | |
| REMOTE_CACHE_URL: ${{ secrets.REMOTE_CACHE_URL }} | |
| REMOTE_CACHE_USER: ${{ secrets.REMOTE_CACHE_USER }} | |
| REMOTE_CACHE_PASS: ${{ secrets.REMOTE_CACHE_PASS }} | |
| run: ./gradlew build bundleDebug | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: APK | |
| path: app/build/outputs/apk/debug/app-debug.apk | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: Bundle | |
| path: app/build/outputs/bundle/debug/app-debug.aab |