Skip to content

Commit

Permalink
update yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
es-amit committed Apr 28, 2024
1 parent fb9827d commit 6e1e75a
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,20 @@ jobs:
name: Build & Release
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
distribution: "zulu"
java-version: "20"
- uses: subosito/flutter-action@v2
java-version: "12.x"
- uses: subosito/flutter-action@v1
with:
channel: "stable"
architecture: x64

- run: flutter build apk --release --split-per-abi
flutter-version: "2.2.0"
- run: flutter pub get
- run: flutter test
- run: flutter build apk --debug --split-per-abi
- name: Push to Releases
uses: ncipollo/release-action@v1
with:
artifacts: "build/app/outputs/apk/release/*"
artifacts: "build/app/outputs/apk/debug/*"
tag: v1.0.${{ github.run_number }}
token: ${{ secrets.TOKEN }}
# push to master, main, develop
Expand Down

0 comments on commit 6e1e75a

Please sign in to comment.