From 42c444c6e7d39c13d34476095bd933af3b796a81 Mon Sep 17 00:00:00 2001 From: Hailong Cui Date: Mon, 10 Jul 2023 10:30:17 +0800 Subject: [PATCH] Modify triggers to push snapshots on all branches (#454) (#475) (cherry picked from commit 1484bff81af8496c93e5f3e9634cb93c1f948750) Signed-off-by: Sayali Gaikawad Signed-off-by: Hailong Cui Co-authored-by: Sayali Gaikawad <61760125+gaiksaya@users.noreply.github.com> Signed-off-by: AWSHurneyt --- .github/workflows/maven-publish.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 944c248c..be57f77d 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -3,12 +3,10 @@ name: Publish snapshots to maven on: workflow_dispatch: push: - branches: [ - main - 1.* - 2.* - ] - + branches: + - main + - '[0-9]+.[0-9]+' + - '[0-9]+.x' jobs: build-and-publish-snapshots: strategy: