Skip to content

Commit

Permalink
noads apk in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerhgl committed Oct 27, 2020
1 parent 74df56a commit 222d7f8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,14 @@ jobs:
dart ./scripts/splitVectorIcons.dart
flutter clean
flutter pub get
flutter build apk -t lib/main.mobile.dart
flutter build apk
mv build/app/outputs/apk/release/app-release.apk build/app/outputs/apk/release/app-release-noads.apk
flutter build appbundle -t lib/main.mobile.dart
flutter build apk -t lib/main.mobile.dart
- name: Create Android Release
uses: ncipollo/release-action@v1
with:
artifacts: 'app/build/app/outputs/apk/release/app-release.apk,app/build/app/outputs/bundle/release/app-release.aab'
artifacts: 'app/build/app/outputs/apk/release/app-release.apk,app/build/app/outputs/bundle/release/app-release.aab,app/build/app/outputs/apk/release/app-release-noads.apk'
token: ${{ secrets.TOKEN }}
allowUpdates: true

Expand Down

0 comments on commit 222d7f8

Please sign in to comment.