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 4920763 commit ceb2849Copy full SHA for ceb2849
.github/workflows/publish.yaml
@@ -1,21 +1,14 @@
1
-name: Publish plugin
+name: Publish to pub.dev
2
3
on:
4
- release:
5
- types: [published]
+ push:
+ tags:
6
+ - 'v[0-9]+.[0-9]+.[0-9]+*'
7
8
jobs:
9
publish:
-
10
- runs-on: ubuntu-latest
11
12
- steps:
13
- - name: Checkout
14
- uses: actions/checkout@v1
15
- - name: Publish
16
- uses: k-paxian/[email protected]
17
- with:
18
- credentialJson: ${{ secrets.CREDENTIAL_JSON }}
19
- flutter: true
20
- skipTests: true
21
- force: true
+ permissions:
+ id-token: write # Required for authentication using OIDC
+ uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
+ # with:
+ # working-directory: path/to/package/within/repository
0 commit comments