File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11name : publish
22
33on :
4- release :
5- types : [created]
4+ push :
5+ branches :
6+ - main
67 workflow_dispatch :
78 inputs :
89 publish_maven :
2728 runs-on : ubuntu-latest
2829 timeout-minutes : 30
2930 # Only publish when semantic-release creates a release commit (starts with "chore(release):")
30- # if: (github.event_name == 'push' && startsWith(github.event.head_commit.message, 'chore(release):')) || (github.event_name == 'workflow_dispatch' && inputs.publish_javadoc)
31+ if : (github.event_name == 'push' && startsWith(github.event.head_commit.message, 'chore(release):')) || (github.event_name == 'workflow_dispatch' && inputs.publish_javadoc)
3132
3233 permissions :
3334 contents : write
6566 runs-on : ubuntu-latest
6667 timeout-minutes : 30
6768 # Only publish when semantic-release creates a release commit (starts with "chore(release):")
68- # if: (github.event_name == 'push' && startsWith(github.event.head_commit.message, 'chore(release):')) || (github.event_name == 'workflow_dispatch' && inputs.publish_maven)
69+ if : (github.event_name == 'push' && startsWith(github.event.head_commit.message, 'chore(release):')) || (github.event_name == 'workflow_dispatch' && inputs.publish_maven)
6970
7071 steps :
7172 - name : Checkout code
You can’t perform that action at this time.
0 commit comments