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