Skip to content

Commit 1990904

Browse files
Update publish.yml.twig
1 parent 094bb81 commit 1990904

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

templates/flutter/.github/workflows/publish.yml.twig

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,21 @@ name: Publish to pub.dev
33
on:
44
push:
55
tags:
6-
- '[0-9]+\.[0-9]+\.[0-9]+.*'
6+
- '[0-9]+\.[0-9]+\.[0-9]+*'
77

88
jobs:
99
publish:
1010
permissions:
1111
id-token: write
12-
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
13-
with:
14-
environment: pub.dev
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v3
15+
- name: Install Flutter
16+
uses: subosito/flutter-action@v2
17+
with:
18+
channel: stable
19+
- name: Install dependencies
20+
run: flutter pub get
21+
- uses: dart-lang/setup-dart@v1
22+
- name: Publish
23+
run: dart pub publish --force

0 commit comments

Comments
 (0)