From 44b3bc580636f690d741bfae47dfddabbb6fe79b Mon Sep 17 00:00:00 2001 From: Rodion Mostovoi <36400912+rodion-m@users.noreply.github.com> Date: Thu, 26 Oct 2023 22:31:43 +0600 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) 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