Skip to content

Commit

Permalink
ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
AravindhIppili committed Jun 29, 2021
1 parent a25a737 commit 92f95ac
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main2.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_prod.dart --split-per-abi
- name: Release apk
uses: ncipollo/release-actions@v1
with:
artifacts: "build/app/outputs/apk/release/*.apk"
token: ${{ secrets.E_COM }}

0 comments on commit 92f95ac

Please sign in to comment.