Skip to content

Commit 097e715

Browse files
committed
ci: 👷 use custom workflow to publish to pub.dev
1 parent 25cbef3 commit 097e715

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/publish.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,18 @@ on:
77

88
jobs:
99
publish:
10-
uses: dart-lang/setup-dart/.github/workflows/[email protected]
10+
permissions:
11+
id-token: write
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: 📚 Git checkout
15+
uses: actions/checkout@v3
16+
17+
- name: 🎯 Setup Dart
18+
uses: dart-lang/setup-dart@v1
19+
20+
- name: 📦 Install dependencies
21+
run: dart pub get
22+
23+
- name: 🚀 publish
24+
run: dart pub publish --force

0 commit comments

Comments
 (0)