Skip to content

Commit

Permalink
Fixed the publish maven workflow to execute after pushes to release b…
Browse files Browse the repository at this point in the history
…ranches. (opensearch-project#837)

Signed-off-by: AWSHurneyt <[email protected]>
  • Loading branch information
AWSHurneyt authored Jun 30, 2023
1 parent 9fbc083 commit bdc9dad
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +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:
Expand Down

0 comments on commit bdc9dad

Please sign in to comment.