File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 pull_request :
66 workflow_dispatch :
77 inputs :
8+ deploy :
9+ description : ' Deploy to Maven Central'
10+ type : boolean
11+ default : false
812 lucee-versions :
913 description : ' JSON array of Lucee version queries (e.g. ["6.2.5.34/snapshot/jar","6.2.6.0/snapshot/jar"])'
1014 default : ' ["6.2/snapshot/jar","7.0/snapshot/jar"]'
11- dry-run :
12- description : ' Dry run - skip deploy to Maven '
13- type : boolean
14- default : false
15+
16+ concurrency :
17+ group : ${{ github.workflow }}-${{ github.head_ref || github.ref }}
18+ cancel-in-progress : true
1519
1620jobs :
1721 setup :
@@ -571,7 +575,7 @@ jobs:
571575 deploy :
572576 runs-on : ubuntu-latest
573577 needs : [build-extension, test, test-config-override]
574- if : github.event_name == 'workflow_dispatch' && needs.test.result == 'success' && needs.test-config-override.result == 'success' && !inputs.dry-run
578+ if : github.event_name == 'workflow_dispatch' && inputs.deploy && needs.test.result == 'success' && needs.test-config-override.result == 'success'
575579 steps :
576580 - name : Checkout repository
577581 uses : actions/checkout@v6
You can’t perform that action at this time.
0 commit comments