Skip to content

Commit 8b783e7

Browse files
committed
Auto Release
1 parent 81d9257 commit 8b783e7

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

givison/lib/.github/flows/main.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
name: Build My App
7+
8+
jobs:
9+
build:
10+
name: Build and Release New apk
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-java@v2
15+
with:
16+
distribution: 'zulu'
17+
java-version: '11'
18+
19+
- uses: subosito/flutter-action@v2
20+
with:
21+
channel: 'stable'
22+
- run: flutter pub get
23+
- run: flutter build apk --release --split-per-abi
24+
25+
- name: Push to Releases
26+
uses: ncipollo/release-action@v1
27+
with:
28+
artifacts: "build/app/outputs/apk/release/*"
29+
tag: v0.0.1
30+
token: ${{ secrets.GIV }}

0 commit comments

Comments
 (0)