Repository navigation
Generate Android Mirrors #2
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: Generate Android Mirrors | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-java@v3 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Download Framework | |
| run: | | |
| mkdir -p input | |
| # Ganti URL ini dengan URL framework.jar Anda jika perlu | |
| curl -L "https://github.com/S-trace/android_frameworks_base_mirror/raw/master/framework.jar" -o input/framework.jar | |
| - name: Run Generator | |
| run: | | |
| chmod +x gradlew | |
| ./gradlew run --args="input/framework.jar output_mirrors" | |
| - name: Upload Result | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Mirror-Result | |
| path: output_mirrors/ | |