We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4008624 commit cabb38cCopy full SHA for cabb38c
.github/workflows/publish.yaml
@@ -7,4 +7,16 @@ on:
7
8
jobs:
9
publish:
10
- uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
+ # https://dart.dev/tools/pub/automated-publishing#configuring-a-github-action-workflow-for-publishing-to-pubdev
11
+ permissions:
12
+ id-token: write # This is 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
+ # Remove submodule to make dart pub validation happy
20
+ - run: rm -r test/shared-client-testcases/
21
+ - name: Publish
22
+ run: dart pub publish --force
0 commit comments