From de4315b4b73c75a678f9b7b767b553677f9675b2 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 11 Oct 2023 12:20:43 -0400 Subject: [PATCH] actions: revert pyinstaller on Win --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fc01882f..b2d49aaa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -480,7 +480,7 @@ jobs: cd pyinstaller export latest_release=$(git tag --list | grep -v dev | grep -v rc | sort -Vr | head -n1) #V6.0.0 causes errors on staticx - if [[ "${staticx}" == "yes" ]]; then + if ([ "${staticx}" == "yes" ] || [ "${RUNNER_OS}" == "macOS" ]); then git checkout "v5.13.2" else git checkout "${latest_release}" @@ -518,8 +518,7 @@ jobs: 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" - true + export PATH="/usr/bin" else export gampath=$(realpath "${gampath}") fi