Skip to content

Commit 19ae72c

Browse files
Merge pull request #204 from appwrite/lohanidamodar-patch-1
Fix workflow regex
2 parents 695640d + 1690e3d commit 19ae72c

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/publish.yml

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)