Skip to content

Commit e1a28cd

Browse files
authored
Use the dart release action as part of the triggered release job
1 parent 91878a4 commit e1a28cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
build:
2929
name: Release Flutter SDK
3030
runs-on: ubuntu-latest
31+
permissions:
32+
id-token: write
3133
steps:
3234
- uses: actions/checkout@v4
3335
with:
@@ -86,7 +88,7 @@ jobs:
8688
prerelease: ${{ github.event.inputs.prerelease }}
8789
draft: ${{ github.event.inputs.draft }}
8890
changelog: ${{ steps.prepare-release.outputs.changelog }}
89-
91+
- uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
9092
- name: Display link to release
9193
run: |
9294
echo "::notice title=Release ID::${{ steps.create-release.outputs.release-id }}"

0 commit comments

Comments
 (0)