Skip to content

Commit 2ea5282

Browse files
committed
debug: add minimal job to test inputs.deploy in job if condition
1 parent bd93627 commit 2ea5282

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,12 +660,21 @@ jobs:
660660
debuggee/lucee-server/context/logs/
661661
debuggee/lucee-server/context/cfclasses/
662662
663+
# Temporary debug job - no needs, just tests inputs.deploy in job if
664+
debug-deploy-condition:
665+
name: Debug deploy condition
666+
runs-on: ubuntu-latest
667+
if: inputs.deploy
668+
steps:
669+
- name: Condition passed
670+
run: echo "inputs.deploy was truthy - job ran"
671+
663672
# Deploy to Maven Central (manual only, requires checkbox)
664673
deploy:
665674
name: Deploy to Maven Central
666675
runs-on: ubuntu-latest
667676
needs: [test-extension, test-agent]
668-
if: github.event_name == 'workflow_dispatch' && inputs.deploy && github.ref == 'refs/heads/main'
677+
if: ${{ !failure() && !cancelled() && github.event_name == 'workflow_dispatch' && inputs.deploy && github.ref == 'refs/heads/main' }}
669678

670679
steps:
671680
- name: Checkout

0 commit comments

Comments
 (0)