diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7a0a79e..fbe82d7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,8 +5,11 @@ on: tags: - '[0-9]+.[0-9]+.[0-9]+*' +# Publish using the reusable workflow from dart-lang. jobs: publish: + permissions: + id-token: write # Required for authentication using OIDC uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1 # with: # working-directory: path/to/package/within/repository