From 2cebef9d4b044c1b16612c4788708d5992d251e1 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Thu, 3 Dec 2020 15:37:40 -0500 Subject: [PATCH] actions take 29 --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 89c92b87..39a24d53 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,10 @@ jobs: - name: Before Build run: | - declare -l GAMOS=$"${RUNNER_OS}" # compat with MacOS and Bash 3 + if [ "${RUNNER_OS}" == "macOS" ]; then + export GAMOS="macos" + else + export GAMOS=$"${RUNNER_OS,,}" if [ "${ImageOS}" == "win16" ]; then export PLATFORM="x86"; else