Skip to content

Commit f9c67ce

Browse files
authored
Update publish.yml
1 parent e97bd83 commit f9c67ce

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1+
#https://dart.dev/tools/pub/automated-publishing
12
name: Publish lint_quido to pub.dev
3+
24
on:
35
push:
46
branches:
57
- main
6-
78
jobs:
89
publish:
910
permissions:
10-
id-token: write
11-
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
11+
id-token: write # Required for authentication using OIDC
12+
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
13+
with:
14+
environment: pub.dev

0 commit comments

Comments
 (0)