Skip to content

Commit 6174325

Browse files
authored
👷 Adds publish workflow (#648)
1 parent be50d7c commit 6174325

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

‎.github/workflows/publish.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Publish to pub.dev
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v[0-9]+.[0-9]+.[0-9]+'
7+
workflow_dispatch:
8+
9+
jobs:
10+
publish-core:
11+
permissions:
12+
id-token: write
13+
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
14+
with:
15+
working-directory: packages/core
16+
17+
publish-command:
18+
permissions:
19+
id-token: write
20+
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
21+
with:
22+
working-directory: packages/command
23+
24+
publish-runner:
25+
permissions:
26+
id-token: write
27+
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
28+
with:
29+
working-directory: packages/runner

0 commit comments

Comments
 (0)