File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 52
52
# Also note that inputs (vs github.event.inputs) are usable across both
53
53
# workflow_dispatch and workflow_call.
54
54
# https://github.blog/changelog/2022-06-10-github-actions-inputs-unified-across-manual-and-reusable-workflows/
55
- CODER_RELEASE : ${{ contains( inputs.snapshot, 'false') }}
55
+ CODER_RELEASE : ${{ ! inputs.snapshot }}
56
56
CODER_RELEASE_INCREMENT : ${{ inputs.increment }}
57
57
CODER_RELEASE_DRAFT : ${{ inputs.draft }}
58
- CODER_DRY_RUN : ${{ contains( inputs.dry_run, 'true') || contains( inputs.snapshot, 'true') }}
58
+ CODER_DRY_RUN : ${{ inputs.dry_run || inputs.snapshot }}
59
59
60
60
jobs :
61
61
release :
80
80
- name : Test
81
81
run : |
82
82
echo ${{ inputs.dry_run && '--dry-run' || 'no dry' }}
83
+ echo ${{ inputs.dry_run && '--dry-run' || '' }}
84
+ echo ${{ inputs.dry_run && '--dry-run' }}
83
85
echo ${{ !inputs.dry_run && 'no dry' || '--dry-run'}}
84
86
echo ${{ (!inputs.dry_run && !inputs.snapshot) && 'release' || 'no release'}}
85
87
echo ${{ (inputs.dry_run || inputs.snapshot) && 'no release' || 'release'}}
You can’t perform that action at this time.
0 commit comments