File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,9 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
44
44
env :
45
45
# Use string semantics for negating the boolean, otherwise it will always
46
46
# be false. See https://github.com/actions/runner/issues/1483.
47
- CODER_RELEASE : ${{ github.event.inputs.snapshot == 'false' }}
47
+ # Note that boolean behavior differs between workflow_dispatch and
48
+ # workflow_call.
49
+ CODER_RELEASE : ${{ github.event.inputs.snapshot == 'false' || github.event.inputs.snapshot == false }}
48
50
CODER_RELEASE_INCREMENT : ${{ github.event.inputs.increment }}
49
51
CODER_RELEASE_DRAFT : ${{ github.event.inputs.draft }}
50
52
CODER_DRY_RUN : ${{ github.event.inputs.dry_run || github.event.inputs.snapshot }}
@@ -124,8 +126,11 @@ jobs:
124
126
125
127
- name : Test
126
128
run : |
129
+ echo ${{ (github.event.inputs.dry_run == 'false' || github.event.inputs.dry_run == false) && (github.event.inputs.snapshot == 'false' || github.event.inputs.snapshot == false) }}
127
130
echo ${{ github.event.inputs.dry_run == 'false' && github.event.inputs.snapshot == 'false' }}
128
131
echo ${{ github.event.inputs.dry_run == 'false' || github.event.inputs.snapshot == 'false' }}
132
+ echo ${{ github.event.inputs.dry_run == 'true' && github.event.inputs.snapshot == 'true' }}
133
+ echo ${{ github.event.inputs.dry_run == 'true' || github.event.inputs.snapshot == 'true' }}
129
134
echo ${{ github.event.inputs.dry_run && github.event.inputs.snapshot }}
130
135
echo ${{ github.event.inputs.dry_run || github.event.inputs.snapshot }}
131
136
echo ${{ !github.event.inputs.dry_run || !github.event.inputs.snapshot }}
You can’t perform that action at this time.
0 commit comments