From aadc8bfb17c019bb8798caaf46147c161461d72e Mon Sep 17 00:00:00 2001 From: pinosu <95283998+pinosu@users.noreply.github.com> Date: Fri, 20 May 2022 09:04:21 +0200 Subject: [PATCH] Publish protobufs on release tags (#869) * Publish protobufs on release tags * Fix regex to match also rc versions --- .github/workflows/proto-buf-publisher.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/proto-buf-publisher.yml b/.github/workflows/proto-buf-publisher.yml index db849119..7e000bc5 100644 --- a/.github/workflows/proto-buf-publisher.yml +++ b/.github/workflows/proto-buf-publisher.yml @@ -4,10 +4,14 @@ name: Proto Buf Publishing - Action on: push: branches: - - master + - main paths: - 'proto/**' + # Sequence of patterns matched against refs/tags + tags: + - "v[0-9]+.[0-9]+.[0-9]+.*" # Push events to matching v*, //i.e. v20.15.10, v0.27.0-rc1 + jobs: push: runs-on: ubuntu-latest