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 2b0ce87 commit 4ec2186Copy full SHA for 4ec2186
.github/workflows/pub_publish.yaml
@@ -0,0 +1,25 @@
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: 🐦 Setup Flutter
19
+ uses: subosito/flutter-action@v2
20
+ - name: 📦 Install Dependencies
21
+ run: flutter pub get
22
+ - name: 🌵 Dry Run
23
+ run: dart pub publish --dry-run
24
+ - name: 📢 Publish
25
+ run: dart pub publish --force
0 commit comments