summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-05-16 16:27:35 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-05-16 16:27:35 -0400
commit189711f41cb262a958ccdabfe9687caa4eb17e79 (patch)
tree1f10cf3956a53aecc10f293ce3701a5ff3e24096
parent006b00b47d8fc0ea89ca799c191b91d49d8f6bb6 (diff)
Try harder to interpret github.event.inputs.release_run checkbox.
-rw-r--r--.github/workflows/build.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 5854a512d1..27516aacf0 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -29,7 +29,7 @@ jobs:
# When you want to use a string variable as a workflow YAML boolean, it's
# important to ensure it's the empty string when false. If you omit || '',
# its value when false is "false", which is interpreted as true.
- RELEASE_RUN: ${{ (github.event.inputs.release_run || (github.ref_type == 'tag' && startsWith(github.ref_name, 'Second_Life'))) && 'Y' || '' }}
+ RELEASE_RUN: ${{ (github.event.inputs.release_run != 'false' || (github.ref_type == 'tag' && startsWith(github.ref_name, 'Second_Life'))) && 'Y' || '' }}
steps:
- name: Set Variable
id: setvar