Update publish.yaml

This commit is contained in:
Devon Carew 2025-06-09 10:02:17 -07:00 committed by GitHub
parent a6b94850a1
commit b562c80a5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 3 deletions

View File

@ -1,12 +1,17 @@
# A CI configuration to auto-publish pub packages.
name: Publish
permissions:
id-token: write
pull-requests: write
on:
pull_request:
branches: [ master ]
types: [opened, synchronize, reopened, labeled, unlabeled]
push:
tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ]
jobs:
publish:
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main
permissions:
id-token: write
pull-requests: write