Skip to content

Commit d07da1c

Browse files
Merge pull request #60 from appwrite/lohanidamodar-patch-1
fix pub workflow
2 parents f34da98 + 2e3c357 commit d07da1c

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/publish.yml

+11-5
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,18 @@ 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

8+
# Publish using custom workflow
89
jobs:
910
publish:
1011
permissions:
11-
id-token: write
12-
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
13-
with:
14-
environment: pub.dev
12+
id-token: write # Required for authentication using OIDC
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: dart-lang/setup-dart@v1
17+
- name: Install dependencies
18+
run: dart pub get
19+
- name: Publish
20+
run: dart pub publish --force

0 commit comments

Comments
 (0)