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: