Skip to content
This repository was archived by the owner on Jan 5, 2021. It is now read-only.

Commit 36cec73

Browse files
author
Luis Antonio Correa Leyva
authored
Merge pull request #1 from groig/master
Add action to build the apk
2 parents 721fee8 + d9f539e commit 36cec73

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/main.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
on:
2+
push:
3+
tags:
4+
- '*'
5+
name: Build and Release apk
6+
jobs:
7+
build:
8+
name: Build APK
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v1
12+
- uses: actions/setup-java@v1
13+
with:
14+
java-version: '12.x'
15+
- uses: subosito/flutter-action@v1
16+
with:
17+
channel: 'stable'
18+
- run: flutter pub get
19+
- run: flutter build apk --split-per-abi
20+
- name: Create a Release APK
21+
uses: ncipollo/release-action@v1
22+
with:
23+
artifacts: "build/app/outputs/apk/release/*.apk"
24+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)