Prep to release packages (#3784) #591
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: | |
write-comments: false | |
# Protected github deployment environment, requires approval to publish. | |
environment: pub.dev | |
sdk: dev |