Skip to content

Commit

Permalink
Build AppBundle
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobaraujo7 committed Jan 15, 2024
1 parent 8d492e9 commit 65590a0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,15 @@ jobs:
KEYSTORE_PASSWD: ${{ secrets.KEYSTORE_PASSWD }}
KEYSTORE_ALIAS: ${{ secrets.KEYSTORE_ALIAS }}

- name: Build AppBundle
run: flutter build appbundle --release --flavor prod
env:
KEYSTORE_PASSWD: ${{ secrets.KEYSTORE_PASSWD }}
KEYSTORE_ALIAS: ${{ secrets.KEYSTORE_ALIAS }}

- name: Upload Artifact
uses: ncipollo/release-action@v1
with:
artifacts: ${{ github.workspace }}/build/app/outputs/flutter-apk/*.apk
artifacts: ${{ github.workspace }}/build/app/outputs/flutter-apk/*.apk,${{ github.workspace }}/build/app/outputs/flutter-apk/*.aab
allowUpdates: true

2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 0.0.1+2
version: 0.0.1+3

environment:
sdk: '>=3.2.3 <4.0.0'
Expand Down

0 comments on commit 65590a0

Please sign in to comment.