Skip to content

Commit

Permalink
💚 fix publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fa-fifi committed Nov 22, 2023
1 parent 60dfa18 commit 9ed1aed
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ jobs:
publish:
permissions:
id-token: write
uses: dart-lang/setup-dart/.github/workflows/publish.yml@main
with:
environment: pub.dev
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true
- name: Install dependencies
run: flutter pub get
- name: Publish package
run: |
flutter pub publish --dry-run
flutter pub publish -f

0 comments on commit 9ed1aed

Please sign in to comment.