mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-08 13:43:35 +00:00
Update build.yml
This commit is contained in:
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -417,7 +417,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
export gampath="./dist/gam"
|
export gampath="./dist/gam"
|
||||||
mkdir -p -v "${gampath}"
|
mkdir -p -v "${gampath}"
|
||||||
|
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'))")
|
||||||
|
else
|
||||||
|
export gampath=$(realpath "${gampath}")
|
||||||
export gam="${gampath}/gam"
|
export gam="${gampath}/gam"
|
||||||
echo "gampath=${gampath}" >> $GITHUB_ENV
|
echo "gampath=${gampath}" >> $GITHUB_ENV
|
||||||
echo "gam=${gam}" >> $GITHUB_ENV
|
echo "gam=${gam}" >> $GITHUB_ENV
|
||||||
|
Reference in New Issue
Block a user