Skip to content

move keystore to root folder #8

move keystore to root folder

move keystore to root folder #8

Workflow file for this run

name: Distribution
on: #events (push and pull_request)
push:
branches: [ "main" ]
#pull_request:
# branches: [ "main" ]
jobs: #here we specify the jobs - We could have multiple jobs
build: #name it something meaningful
runs-on: macos-latest #runner: select a machine to use
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '17.x'
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
- name: Upload-keystore generator
run: |
echo "${{secrets.UPLOAD_KEYSTORE}}" > upload.keystore.asc
base64 -d --input upload.keystore.asc --output android/upload.keystore
- name: Install dependencies
run: flutter pub get # action
- name: Run clean
run: flutter clean
#- name: Run tests
# run: flutter test
- name: Build Android appBundle
run: flutter build appbundle --release
#- name: Build ios
# run: flutter build ios --release --no-codesign
- name: Upload artifact to Firebase App Distribution
uses: wzieba/Firebase-Distribution-Github-Action@v1
with:
appId: ${{secrets.FIREBASE_APP_ID}}
serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
groups: testers
file: build/app/outputs/bundle/release/app-release.aab