From d2733a53a2d1067d4393f18dca3cc19453894cce Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 30 Nov 2022 21:04:36 +0000 Subject: [PATCH] fix gampath --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1329de93..618a25c5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -435,7 +435,8 @@ jobs: - name: Build GAM with PyInstaller if: matrix.goal != 'test' run: | - export gampath="./dist/gam" + export distpath="./dist" + export gampath="${distpath}/gam" mkdir -p -v "${gampath}" if [[ "${RUNNER_OS}" == "macOS" ]]; then export gampath=$($PYTHON -c "import os; print(os.path.realpath('$gampath'))") @@ -450,7 +451,7 @@ jobs: echo "gampath=${gampath}" >> $GITHUB_ENV echo "gam=${gam}" >> $GITHUB_ENV echo -e "GAM: ${gam}\nGAMPATH: ${gampath}" - "${PYTHON}" -m PyInstaller --clean --distpath="${gampath}" gam.spec + "${PYTHON}" -m PyInstaller --clean --distpath="${distpath}" gam.spec - name: Copy extra package files if: matrix.goal == 'build'