We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f8b3d2 commit 2e77d34Copy full SHA for 2e77d34
.github/workflows/publish.yml
@@ -0,0 +1,19 @@
1
+name: Auto-Publish to Pub.dev
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ publish:
9
+ permissions:
10
+ id-token: write # Required for OIDC authentication
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ - uses: dart-lang/setup-dart@v1
15
16
+ # This step handles the secure handshake between GitHub and pub.dev
17
+ # You must configure your package as a "GitHub Actions Publisher" on pub.dev
18
+ - name: Publish to pub.dev
19
+ run: dart pub publish --force
0 commit comments