Skip to content

Commit ad72f51

Browse files
committed
Remove publishing when workflow is triggered manually as it wont create a release
Signed-off-by: Wei-Qiang Zhou <wei-qiang.zhou@alliander.com>
1 parent 85d1145 commit ad72f51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/java-gradle-ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
publish:
6262
name: Publish to maven central
6363
needs: [build-and-test]
64-
if: github.event_name == 'workflow_dispatch' && inputs.create_release && github.ref_type == 'tag'
64+
if: github.ref_type == 'tag'
6565
runs-on: ubuntu-latest
6666
environment: release
6767
permissions:

0 commit comments

Comments
 (0)