Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
223880 committed Jun 27, 2024
1 parent d35aaa9 commit ca624c0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish Dart Package

on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Dart SDK
uses: dart-lang/setup-dart@v2
with:
sdk: stable
- name: Publish Package
env:
PUB_PUBLISH_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
dart pub publish --dry-run
dart pub publish -f

0 comments on commit ca624c0

Please sign in to comment.