Skip to content

Commit

Permalink
Fix Publish workflow (#35)
Browse files Browse the repository at this point in the history
Fixes #11.
  • Loading branch information
fujidaiti authored Feb 23, 2024
1 parent 7f6dcbb commit 435bd55
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,22 @@ on:

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
permissions:
id-token: write
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
with:
working-directory: package
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Flutter SDK
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.x

- name: Flutter version
run: flutter --version

- name: Publish to pub.dev
run: flutter pub publish --force

0 comments on commit 435bd55

Please sign in to comment.