summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2024-05-15 14:41:56 -0700
committerBrad Linden <brad@lindenlab.com>2024-05-15 14:49:07 -0700
commit0960ae78923b51df4408bfaaeba5399f85d55efe (patch)
tree648d495b2c011bfb2a8aca5e6c12ec138e36fa85 /.github/workflows
parent1f0b80f709dd3b263e88ca6e3db027a1406ec240 (diff)
Experiment with getting manually triggered workflow builds to optionally do a release
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 94bd13f4af..364a3a97e8 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -2,6 +2,11 @@ name: Build
on:
workflow_dispatch:
+ inputs:
+ release_run:
+ type: boolean
+ description: Do a release of this build
+ default: false
pull_request:
push:
branches: ["main", "release/*", "project/*"]
@@ -398,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
+ if: needs.setvar.outputs.release_run || github.event.inputs.release_run
steps:
- uses: actions/download-artifact@v4
with: