Skip to content

Commit

Permalink
feat: CI/CDのお試し実装
Browse files Browse the repository at this point in the history
  • Loading branch information
emusute1212 committed Feb 14, 2023
1 parent 81fb119 commit d441ba4
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/cd.yml
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
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
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

0 comments on commit d441ba4

Please sign in to comment.