From b1efcf74d42042cf8c9baa72e23f43c909c278ef Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Thu, 2 Feb 2023 08:07:44 -0800 Subject: [PATCH] add a publishing workflow action to dart-lang/benchmark_harness (#81) * blast_repo fixes auto-publish * publish from master * update the reference to the publish workflow --- .github/workflows/publish.yaml | 14 ++++++++++++++ README.md | 9 +++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..fcb7ccb --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,14 @@ +# A CI configuration to auto-publish pub packages. + +name: Publish + +on: + pull_request: + branches: [ master ] + push: + tags: [ 'v[0-9]+.[0-9]+.[0-9]+*' ] + +jobs: + publish: + if: ${{ github.repository_owner == 'dart-lang' }} + uses: dart-lang/ecosystem/.github/workflows/publish.yaml@main diff --git a/README.md b/README.md index 81757d4..13008f5 100644 --- a/README.md +++ b/README.md @@ -118,5 +118,10 @@ This is the average amount of time it takes to run `run()` 10 times for ### Contributions This package is carefully curated by the Dart team to exact specifications. -Please open an issue with any proposed changes, before submitting a Pull -Request. +Please open an issue with any proposed changes before submitting a pull +request. + +## Publishing automation + +For information about our publishing automation and release process, see +https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.