Skip to content

Commit

Permalink
Modify triggers to push snapshots on all branches (opensearch-project…
Browse files Browse the repository at this point in the history
…#454)

Signed-off-by: Sayali Gaikawad <[email protected]>
(cherry picked from commit 1484bff)
Signed-off-by: Hailong Cui <[email protected]>
  • Loading branch information
gaiksaya authored and Hailong-am committed Jul 7, 2023
1 parent f475879 commit dc54dcb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit dc54dcb

Please sign in to comment.