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. (#837)

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
(cherry picked from commit bdc9dad)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Aug 16, 2023
1 parent 2d87a75 commit 9c84f51
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 9c84f51

Please sign in to comment.