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 5fc62ec commit 7c05bb8Copy full SHA for 7c05bb8
.github/workflows/publish.yml
@@ -0,0 +1,25 @@
1
+name: Publish to pub.dev
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "v[0-9]+.[0-9]+.[0-9]+*"
7
8
+jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ permissions:
12
+ id-token: write
13
14
+ steps:
15
+ - uses: actions/checkout@v4
16
17
+ - uses: dart-lang/setup-dart@v1
18
19
+ - run: dart pub get
20
+ - run: dart format --output=none --set-exit-if-changed .
21
+ - run: dart analyze
22
+ - run: dart test
23
24
+ - name: Publish to pub.dev
25
+ run: dart pub publish --force
0 commit comments