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 e57a126 commit 3e61a6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +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_TOKEN }}
PUB_DEV_TOKEN: ${{ secrets.PUBDEV_TOKEN }}
run: dart pub publish --force

0 comments on commit 3e61a6e

Please sign in to comment.