Skip to content

Commit

Permalink
ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
AravindhIppili committed Jul 6, 2021
1 parent 0343998 commit 8cddf38
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on:
push:
tags:
- v*
name: Release Apk
jobs:
build:
name: Build Apk
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
with:
flutter-version: '2.2.2'
- run: flutter pub get
- run: flutter build apk -t lib/main.dart --split-per-abi
- name: Release apk
uses: ncipollo/release-action@v1
with:
artifacts: "build/app/outputs/apk/release/*.apk"
token: ${{ secrets.ID_CARD }}

0 comments on commit 8cddf38

Please sign in to comment.