We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e57dfd3 commit 5412f5aCopy full SHA for 5412f5a
.github/workflows/publish.yml
@@ -0,0 +1,18 @@
1
+name: Publish to pub.dev
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ # must align with the tag-pattern configured on pub.dev, often just replace
7
+ # {{version}} with [0-9]+.[0-9]+.[0-9]+
8
+ - 'v[0-9]+.[0-9]+.[0-9]+'
9
+ workflow_dispatch:
10
11
+# Publish using the reusable workflow from dart-lang.
12
+jobs:
13
+ publish:
14
+ permissions:
15
+ id-token: write # Required for authentication using OIDC
16
+ uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
17
+ # with:
18
+ # working-directory: path/to/package/within/repository
0 commit comments