AXMLPrinter-Fix-id2name-and-framework-ARSC #1
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: AXMLPrinter Build | |
| permissions: | |
| contents: write | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| build_type: [debug, release] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - name: Make gradlew executable | |
| run: chmod +x ./gradlew | |
| - name: Build APK | |
| run: ./gradlew assemble${{ matrix.build_type }} --warning-mode all | |
| - name: Upload Gradle Problem Report | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: gradle-problem-report-${{ matrix.build_type }}-${{ github.run_id }} | |
| path: build/reports/problems/ | |
| if-no-files-found: warn | |
| - name: Upload APK | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: AXMLPrinter-apk-${{ matrix.build_type }}-${{ github.run_id }} | |
| path: app/build/outputs/apk/${{ matrix.build_type }}/app-${{ matrix.build_type }}.apk |