mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-07 13:13:34 +00:00
Update build.yml
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -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
|
||||||
|
Reference in New Issue
Block a user