We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff34cc6 commit 33f05a1Copy full SHA for 33f05a1
.github/workflows/pub_publish.yaml
@@ -0,0 +1,23 @@
1
+name: pub_publish
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "v[0-9]+.[0-9]+.[0-9]+*"
7
8
+jobs:
9
+ publish:
10
+ permissions:
11
+ id-token: write # Required for authentication using OIDC
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: 📚 Git Checkout
15
+ uses: actions/checkout@v4
16
+ - name: 🎯 Setup Dart
17
+ uses: dart-lang/setup-dart@v1
18
+ - name: 📦 Install Dependencies
19
+ run: dart pub get
20
+ - name: 🌵 Dry Run
21
+ run: dart pub publish --dry-run
22
+ - name: 📢 Publish
23
+ run: dart pub publish --force
0 commit comments