Skip to content

Commit

Permalink
Dry run before publishing to pub.dev (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
BryceBeagle authored Mar 30, 2021
1 parent eff4a05 commit 4dd230b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,8 @@ jobs:
echo "${{ secrets.PUBDEV_CREDENTIAL_JSON_B64 }}" \
| base64 --decode > ~/.pub-cache/credentials.json
- name: "Dry run publish to pub.dev"
run: dart pub publish --dry-run

- name: "Publish to pub.dev"
run: dart pub publish
run: dart pub publish --force

0 comments on commit 4dd230b

Please sign in to comment.