Skip to content

Commit

Permalink
Update flutter-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGuyDangerous authored Nov 6, 2022
1 parent ace51fd commit 93390f5
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/flutter-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,23 @@ jobs:
- run: flutter format --set-exit-if-changed .

# Build apk.
- run: flutter build apk
- run: flutter build apk --split-per-abi
- name: Push to Releases
uses: ncipollo/release-action@v1
with:
artifacts: "build/app/outputs/apk/release/app-release.apk"
artifacts: "build/app/outputs/apk/release/app-armeabi-v7a-release.apk"
tag: v5.0.${{github.run_number}}
token: ${{secrets.TOKEN}}

# Upload generated apk to the artifacts.
- uses: actions/upload-artifact@v1
- name: Push to Releases
uses: ncipollo/release-action@v1
with:
name: app-release.apk
path: build/app/outputs/apk/release/app-release.apk
artifacts: "build/app/outputs/apk/release/app-arm64-v8a-release.apk"
tag: v5.0.${{github.run_number}}
token: ${{secrets.TOKEN}}
- name: Push to Releases
uses: ncipollo/release-action@v1
with:
artifacts: "build/app/outputs/apk/release/app-x86_64-release.apk"
tag: v5.0.${{github.run_number}}
token: ${{secrets.TOKEN}}

0 comments on commit 93390f5

Please sign in to comment.