Skip to content

Commit

Permalink
Merge pull request #16 from kosukesaigusa/ci/fix_publish_workflow_2
Browse files Browse the repository at this point in the history
ci: fix ci publish workflow
  • Loading branch information
kosukesaigusa authored Dec 22, 2023
2 parents 6bf6b23 + dd5c84e commit 150468e
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: |
cd packages/flutterfire_gen
dart pub get
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: Publish flutterfire_gen
run: |
cd packages/flutterfire_gen
dart pub publish --force
flutter pub publish --force
publish_flutterfire_gen_annotation:
if: startsWith(github.ref, 'refs/tags/flutterfire_gen_annotation-v')
Expand All @@ -34,14 +33,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: |
cd packages/flutterfire_gen_annotation
dart pub get
- name: Publish flutterfire_gen_annotation
run: |
cd packages/flutterfire_gen_annotation
dart pub publish --force
flutter pub publish --force
publish_flutterfire_gen_utils:
if: startsWith(github.ref, 'refs/tags/flutterfire_gen_utils-v')
Expand All @@ -51,11 +46,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dart-lang/setup-dart@v1
- name: Install dependencies
run: |
cd packages/flutterfire_gen_utils
dart pub get
- name: Publish flutterfire_gen_utils
run: |
cd packages/flutterfire_gen_utils
dart pub publish --force
flutter pub publish --force

0 comments on commit 150468e

Please sign in to comment.