We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f34da98 + 2e3c357 commit d07da1cCopy full SHA for d07da1c
.github/workflows/publish.yml
@@ -3,12 +3,18 @@ name: Publish to pub.dev
3
on:
4
push:
5
tags:
6
- - '[0-9]+\.[0-9]+\.[0-9]+.*'
+ - '[0-9]+\.[0-9]+\.[0-9]+*'
7
8
+# Publish using custom workflow
9
jobs:
10
publish:
11
permissions:
- id-token: write
12
- uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
13
- with:
14
- environment: pub.dev
+ id-token: write # Required for authentication using OIDC
+ runs-on: ubuntu-latest
+ steps:
15
+ - uses: actions/checkout@v3
16
+ - uses: dart-lang/setup-dart@v1
17
+ - name: Install dependencies
18
+ run: dart pub get
19
+ - name: Publish
20
+ run: dart pub publish --force
0 commit comments