From 6a206b1a61a983e626fd29a6f04d55eb2fe616c0 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Wed, 15 Nov 2023 09:45:10 -0500 Subject: SL-20546: Allow running build.sh even without GITHUB_OUTPUT set. Default it to /dev/null, so output to $GITHUB_OUTPUT is permitted but discarded. --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 22f9e0c78a..32e6fd8ca4 100755 --- a/build.sh +++ b/build.sh @@ -112,7 +112,8 @@ installer_CYGWIN() fi } -[[ -n "$GITHUB_OUTPUT" ]] || fatal "Need to export GITHUB_OUTPUT" +# if someone wants to run build.sh outside the GitHub environment +[[ -n "$GITHUB_OUTPUT" ]] || export GITHUB_OUTPUT='/dev/null' # The following is based on the Warning for GitHub multiline output strings: # https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) -- cgit v1.2.3 From 2b1e372f760c8dd7510418e1c2362804b7c854b3 Mon Sep 17 00:00:00 2001 From: Bennett Goble Date: Sat, 30 Mar 2024 21:21:55 -0700 Subject: Remove BuildParams This file is no longer used. --- build.sh | 3 --- 1 file changed, 3 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index f7b3632ee8..fe795a24ee 100755 --- a/build.sh +++ b/build.sh @@ -6,9 +6,6 @@ # it relies on the environment that sets up, functions it provides, and # the build result post-processing it does. # -# The shared buildscript build.sh invokes this because it is named 'build.sh', -# which is the default custom build script name in buildscripts/hg/BuildParams -# # PLEASE NOTE: # # * This script is interpreted on three platforms, including windows and cygwin -- cgit v1.2.3