Update AndroidManifest.xml #40
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: Build APK | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| # FIX → generate Gradle wrapper compatible with Android | |
| - name: Generate Gradle Wrapper (Gradle 8.7) | |
| uses: gradle/gradle-build-action@v2 | |
| with: | |
| gradle-version: 8.7 | |
| arguments: wrapper | |
| - name: Make gradlew executable | |
| run: chmod +x gradlew | |
| - name: Build Debug APK | |
| run: ./gradlew assembleDebug | |
| - name: Upload APK | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: DISABLE_FLAG_SECURE-next.apk | |
| path: app/build/outputs/apk/debug/*.apk | |
| if-no-files-found: warn |