Skip to content

Commit da931f7

Browse files
committed
updated pub publish action
1 parent 701f183 commit da931f7

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/pub.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,10 @@ name: Publish
33
on:
44
push:
55
tags:
6-
- "v*"
6+
- 'v[0-9]+.[0-9]+.[0-9]+*'
77

88
jobs:
99
publish:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v3
14-
- name: Publish
15-
uses: sakebook/[email protected]
16-
with:
17-
credential: ${{ secrets.CREDENTIAL_JSON }}
18-
skip_test: true
10+
permissions:
11+
id-token: write
12+
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1

0 commit comments

Comments
 (0)