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) (opensearch-project#475)

(cherry picked from commit 1484bff)

Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
Co-authored-by: Sayali Gaikawad <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>
  • Loading branch information
2 people authored and AWSHurneyt committed Apr 12, 2024
1 parent 963d9c9 commit 42c444c
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 42c444c

Please sign in to comment.