Skip to content

Commit 74ccbca

Browse files
committed
Adding Script To Generate APK File
1 parent 9295dde commit 74ccbca

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/main.yml

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

0 commit comments

Comments
 (0)