update fastlane icon image #9
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: Build & Release | |
| permissions: | |
| contents: write | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| jobs: | |
| build: | |
| name: Build Release APKs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '17' | |
| - name: Setup Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| channel: 'stable' | |
| cache: true | |
| - name: Get Dependencies | |
| run: flutter pub get | |
| # --- SIGNING SETUP --- | |
| - name: Decode Keystore | |
| run: | | |
| echo "${{ secrets.ANDROID_KEYSTORE_BASE64 }}" | base64 --decode > android/app/upload-keystore.jks | |
| - name: Create key.properties | |
| run: | | |
| echo "storePassword=${{ secrets.ANDROID_STORE_PASSWORD }}" > android/key.properties | |
| echo "keyPassword=${{ secrets.ANDROID_KEY_PASSWORD }}" >> android/key.properties | |
| echo "keyAlias=${{ secrets.ANDROID_KEY_ALIAS }}" >> android/key.properties | |
| echo "storeFile=upload-keystore.jks" >> android/key.properties | |
| # --- BUILD (APK) --- | |
| - name: Build Split APKs | |
| run: flutter build apk --release --split-per-abi --obfuscate --split-debug-info=./debug-info | |
| # --- PUBLISH --- | |
| - name: Create Release | |
| uses: ncipollo/release-action@v1 | |
| with: | |
| # Only uploading the APKs now | |
| artifacts: "build/app/outputs/flutter-apk/*.apk" | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| generateReleaseNotes: true |