Skip to content

fixing using actions/upload-artifact@v3 #44

fixing using actions/upload-artifact@v3

fixing using actions/upload-artifact@v3 #44

Workflow file for this run

on:
push:
branches:
- production
- beta
- alpha
- internal
name: "Build & Release"
jobs:
build:
name: Build & Release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '11'
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.22.2'
- name: Decode android/app/keystore.jks
run: echo "${{ secrets.KEYSTORE_JKS }}" | base64 --decode > android/app/keystore.jks
- name: Decode android/key.properties
run: echo "${{ secrets.KEY_PROPERTIES }}" | base64 --decode > android/key.properties
- run: flutter pub get
- run: flutter build appbundle --build-number=${{ github.run_number }} --build-name=2024.02.${{ github.run_number }} --obfuscate --split-debug-info=./build/app/outputs/symbols
- uses: actions/upload-artifact@v3
with:
name: appbundle
path: build/app/outputs/bundle/release/*.aab
- uses: r0adkll/upload-google-play@v1.1.3
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: com.kateile.stg.tz
releaseFiles: build/app/outputs/bundle/release/*.aab
track: ${{ github.ref_name }}
inAppUpdatePriority: 2
changesNotSentForReview: false
whatsNewDirectory: whatsnew
mappingFile: build/app/outputs/mapping/release/mapping.txt