# A CI configuration to auto-publish pub packages. | |
name: Publish | |
on: | |
pull_request: | |
branches: [ master ] | |
types: [opened, synchronize, reopened, labeled, unlabeled] | |
push: | |
tags: [ '[A-z]+-v[0-9]+.[0-9]+.[0-9]+*' ] | |
jobs: | |
publish: | |
if: ${{ github.repository_owner == 'dart-lang' }} | |
uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main | |
with: | |
sdk: dev |