Update build.yml

This commit is contained in:
Jay Lee
2022-10-28 08:30:26 -04:00
committed by GitHub
parent 6d4524c153
commit 4a4b22dfba

View File

@ -440,6 +440,10 @@ jobs:
mkdir -p -v "${gampath}" mkdir -p -v "${gampath}"
if [[ "${RUNNER_OS}" == "macOS" ]]; then if [[ "${RUNNER_OS}" == "macOS" ]]; then
export gampath=$($PYTHON -c "import os; print(os.path.realpath('$gampath'))") export gampath=$($PYTHON -c "import os; print(os.path.realpath('$gampath'))")
elif [[ "${RUNNER_OS}" == "Windows" ]]; then
# Work around issue where PyInstaller picks up python3.dll from other Python versions
# https://github.com/pyinstaller/pyinstaller/issues/7102
export PATH="/usr/bin"
else else
export gampath=$(realpath "${gampath}") export gampath=$(realpath "${gampath}")
fi fi