Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xcarol authored Feb 23, 2024
1 parent 0e9646f commit 19f87fe
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build and Publish AAB to Google Play Store
on:
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Flutter
uses: subosito/flutter-action@v2

- name: Install dependencies
run: flutter pub get

- name: Build AAB
run: flutter build appbundle --release

- name: Publish AAB to Google Play Store
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: com.xicra.overmap
track: internal
releaseFiles: build/app/outputs/bundle/release/app-release.aab

0 comments on commit 19f87fe

Please sign in to comment.