Skip to content

Commit 48bb0c7

Browse files
committed
Manual relese process
1 parent 97f0983 commit 48bb0c7

File tree

1 file changed

+19
-5
lines changed

1 file changed

+19
-5
lines changed

.github/workflows/publish.yml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
11
name: Publish to pub.dev
22

33
on:
4-
push:
5-
tags:
6-
- "v[0-9]+.[0-9]+.[0-9]+*"
4+
release:
5+
types: [published]
76

87
jobs:
98
publish:
9+
if: github.repository_owner == 'viamrobotics'
1010
runs-on: [self-hosted, x64]
11+
container:
12+
image: ghcr.io/cirruslabs/flutter:3.10.6
13+
14+
name: "Publish to pub.dev"
1115
permissions:
12-
id-token: "write"
13-
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
16+
id-token: write
17+
steps:
18+
- uses: actions/checkout@v3
19+
20+
- name: Install dependencies
21+
run: flutter pub get
22+
23+
- name: Publish - dry run
24+
run: flutter pub publish --dry-run
25+
26+
- name: Publish to pub.dev
27+
run: flutter pub publish -f

0 commit comments

Comments
 (0)