feat: Update build config

This commit is contained in:
Anton Stubenbord
2024-01-12 23:22:46 +01:00
parent 58b87da9d9
commit 1460ab4362
2 changed files with 3 additions and 4 deletions

View File

@@ -66,7 +66,6 @@ jobs:
- name: Build and publish GitHub release - name: Build and publish GitHub release
run: | run: |
cd /tmp/build/android cd /tmp/build/android
$FLUTTER_ROOT/flutter build appbundle --release bundle exec fastlane build
$FLUTTER_ROOT/flutter build apk --split-per-abi --release
env: env:
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }} GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}

View File

@@ -33,12 +33,12 @@ platform :android do |options|
json_key_data: ENV['PLAY_STORE_CREDENTIALS'], json_key_data: ENV['PLAY_STORE_CREDENTIALS'],
) )
end end
desc "Build the app" desc "Build the app"
lane :build do |options| lane :build do |options|
sh "$FLUTTER_ROOT/flutter build appbundle -v" sh "$FLUTTER_ROOT/flutter build appbundle -v"
end end
desc "Promote track" desc "Promote track"
lane :play_store_promote do |options| lane :play_store_promote do |options|
track = options[:track] track = options[:track]