Skip to content

Commit

Permalink
Added the build workflow for ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
Yczar committed Apr 20, 2021
1 parent c7962d7 commit 815ffcd
Show file tree
Hide file tree
Showing 5 changed files 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: Continuous Delivery 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: '1.22.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.FLUTTER}}
File renamed without changes.
Empty file.
Empty file.
Empty file.

0 comments on commit 815ffcd

Please sign in to comment.