Release v1.0.0 #8
Workflow file for this run
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 Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Build Debug APK (signed with debug key) | |
| run: ./gradlew assembleDebug | |
| - name: Rename and prepare APK | |
| run: | | |
| cd app/build/outputs/apk/debug | |
| mv app-debug.apk app-release.apk | |
| - name: Generate checksum | |
| run: | | |
| cd app/build/outputs/apk/debug | |
| sha256sum app-release.apk > checksum.txt | |
| - name: Create GitHub Release | |
| uses: softprops/action-gh-release@v1 | |
| with: | |
| files: | | |
| app/build/outputs/apk/debug/app-release.apk | |
| app/build/outputs/apk/debug/checksum.txt | |
| body: | | |
| ## SpatialFlow ${{ github.ref_name }} | |
| ### What's New | |
| - Bug fixes and performance improvements | |
| ### Installation | |
| 1. Download `app-release.apk` | |
| 2. Install on your Android device | |
| 3. Or use in-app "Check for updates" to auto-update | |
| ### Technical Details | |
| - Min SDK: 24 (Android 7.0+) | |
| - Target SDK: 35 (Android 15) | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |