-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81fb119
commit d441ba4
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: CD | ||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
jobs: | ||
build_and_deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: subosito/flutter-action@v1 | ||
- name: Download Flutter packages | ||
run: flutter pub get | ||
- name: Create AAB | ||
run: flutter build appbundle | ||
- name: Create iOS | ||
run: flutter build ipa | ||
- name: Zip builds | ||
run: | ||
- name: Artifact builds | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: code-coverage-report | ||
path: | ||
- build/app/outputs/bundle/release/app-release.aab | ||
- build/build/ios/ipa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: CI | ||
on: push | ||
jobs: | ||
build_and_deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: subosito/flutter-action@v1 | ||
- name: Download Flutter packages | ||
run: flutter pub get | ||
- name: Flutter format | ||
run: flutter format --set-exit-if-changed | ||
- name: Flutter analyze | ||
run: flutter analyze --fatal-infos --fatal-warnings | ||
- name: Flutter test | ||
run: flutter test |