chore(deps): update gradle to v9.4.0 #13
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: Android CI | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| - 'dev' | |
| pull_request: | |
| types: [ opened, synchronize, reopened ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| cache: gradle | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Build debug APK with Gradle | |
| run: ./gradlew assembleDebug | |
| - name: Run tests | |
| run: ./gradlew testDebugUnitTest | |
| - name: Upload debug APK artifact | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: simplygraph-debug | |
| path: ./app/build/outputs/apk/debug/app-debug.apk |