summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yaml
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2024-05-15 15:04:16 -0700
committerBrad Linden <brad@lindenlab.com>2024-05-15 15:12:52 -0700
commit7feec9998e61c234b1a9557c2edf8fc2b52a73cc (patch)
tree4cb8f623b67257b17f441ca8eeb5afa5f64455e3 /.github/workflows/build.yaml
parent0960ae78923b51df4408bfaaeba5399f85d55efe (diff)
Move all release_run logic into setvar job.
Diffstat (limited to '.github/workflows/build.yaml')
-rw-r--r--.github/workflows/build.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 364a3a97e8..b60f787a9c 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -27,7 +27,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.ref_type == 'tag' && startsWith(github.ref_name, 'Second_Life') && 'Y' || '' }}
+ RELEASE_RUN: ${{ (github.event.inputs.release_run || github.ref_type == 'tag' && startsWith(github.ref_name, 'Second_Life')) && 'Y' || '' }}
steps:
- name: Set Variable
id: setvar
@@ -403,7 +403,7 @@ jobs:
release:
needs: [setvar, build, sign-and-package-windows, sign-and-package-mac]
runs-on: ubuntu-latest
- if: needs.setvar.outputs.release_run || github.event.inputs.release_run
+ if: needs.setvar.outputs.release_run
steps:
- uses: actions/download-artifact@v4
with: