From c840aa9adf9d412f69fe7ff11a305cc1748ca727 Mon Sep 17 00:00:00 2001 From: Sayali Gaikawad Date: Thu, 15 Jun 2023 10:56:38 -0700 Subject: [PATCH] Modify triggers to push snapshots on all branches Signed-off-by: Sayali Gaikawad --- .github/workflows/maven-publish.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index db69b424..be57f77d 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -4,10 +4,9 @@ on: workflow_dispatch: push: branches: - - 'main' - - '1.*' - - '2.*' - + - main + - '[0-9]+.[0-9]+' + - '[0-9]+.x' jobs: build-and-publish-snapshots: strategy: