Skip to content

Commit

Permalink
Update dart.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mocolicious authored Jul 17, 2024
1 parent d03c8f7 commit 19f06fe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ jobs:

- name: Publish to pub.dev (dry run)
env:
PUB_DEV_TOKEN: ${{ secrets.PUB_DEV_TOKEN }}
PUB_DEV_TOKEN: ${{ secrets.PUBDEV_TOKEN }}
run: dart pub publish --dry-run

- name: Publish to pub.dev
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
env:
PUB_DEV_TOKEN: ${{ secrets.PUB_DEV_TOK
PUB_DEV_TOKEN: ${{ secrets.PUBDEV_TOKEN }}
run: dart pub publish --force

0 comments on commit 19f06fe

Please sign in to comment.