We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 767867a commit 96b273eCopy full SHA for 96b273e
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,24 @@
1
+name: Publish to pub.dev
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - '[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
+ - uses: actions/checkout@v4
15
16
+ # Setup Flutter SDK and automated pub.dev credentials
17
+ - uses: flutter-actions/setup-flutter@v3
18
+ - uses: flutter-actions/setup-pubdev-credentials@v1
19
20
+ - name: Install dependencies
21
+ run: flutter pub get
22
23
+ - name: Publish
24
+ run: flutter pub publish --force
0 commit comments