Merge pull request #25 from cedricp/sdk_35 #68
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 Apks | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Checkout JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '17' | |
| - name: Chmod Gradle | |
| run: chmod +x ./gradlew | |
| - name: Build Gradle | |
| run: ./gradlew build | |
| - name: Assemble Debug Apk | |
| run: ./gradlew assembleDebug | |
| - name: Assemble Release Apk | |
| run: ./gradlew assembleRelease | |
| - name: Upload Apks | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| path: | | |
| ./EcuTweaker/build/outputs/apk/debug/*.apk | |
| ./EcuTweaker/build/outputs/apk/release/*.apk |