Skip to content

Commit 93dd62f

Browse files
Merge #427
427: Fix CI for publishing r=Strift a=curquiza Try to fix CI to publish following this docs https://dart.dev/tools/pub/automated-publishing#configuring-a-github-action-workflow-for-publishing-to-pub-dev I activated the settings on pub.dev <img width="934" alt="Capture d’écran 2025-04-24 à 15 00 26" src="https://github.com/user-attachments/assets/62fb129a-7c1e-49d4-9d3f-2713b76de551" /> Co-authored-by: Clémentine <clementine@meilisearch.com>
2 parents 1e9ee3d + 06fa164 commit 93dd62f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/publish.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@ on:
77

88
jobs:
99
publishing:
10+
permissions:
11+
id-token: write # Required for authentication using OIDC
1012
runs-on: ubuntu-latest
1113
steps:
1214
- name: Checkout
1315
uses: actions/checkout@v4
1416
- name: Check release validity
1517
run: sh .github/scripts/check-release.sh
1618
- name: Publish
17-
uses: k-paxian/dart-package-publisher@master
18-
with:
19-
accessToken: ${{ secrets.OAUTH_ACCESS_TOKEN }}
20-
refreshToken: ${{ secrets.OAUTH_REFRESH_TOKEN }}
21-
skipTests: true
19+
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1

0 commit comments

Comments
 (0)