Bump gradle-wrapper from 9.5.1 to 9.6.0 #17
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: | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Set up JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: jetbrains | |
| java-version: "21" | |
| cache: gradle | |
| - name: Install Android SDK packages | |
| run: | | |
| export PATH="$ANDROID_HOME/cmdline-tools/latest/bin:$PATH" | |
| yes | sdkmanager --licenses >/dev/null | |
| sdkmanager \ | |
| "platforms;android-37.0" \ | |
| "build-tools;37.0.0" \ | |
| "ndk;27.0.12077973" \ | |
| "cmake;3.22.1" | |
| - name: Run build and checks | |
| run: ./gradlew assembleDebug check --no-daemon | |
| - name: Upload APK | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: apk | |
| path: app/build/outputs/apk | |
| if-no-files-found: ignore | |
| - name: Upload reports | |
| if: always() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: reports | |
| path: app/build/reports | |
| if-no-files-found: ignore |