From 2084373703d9c545d4a894acfa1233f38614dceb Mon Sep 17 00:00:00 2001 From: iht Date: Thu, 21 Nov 2024 00:50:29 +0100 Subject: [PATCH] Uninstall `packaging` through brew when building Updater --- .github/actions/build_frontend/entrypoint.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/actions/build_frontend/entrypoint.sh b/.github/actions/build_frontend/entrypoint.sh index ca57882c..ca9a9325 100644 --- a/.github/actions/build_frontend/entrypoint.sh +++ b/.github/actions/build_frontend/entrypoint.sh @@ -35,6 +35,12 @@ then cd "${FRONTER_DIR}/Updater" PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install pip-tools python3 -m piptools compile -o requirements.txt pyproject.toml + + if [ "$RUNNER_OS" = "macOS" ] + then + brew uninstall packaging + fi + PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install -r requirements.txt python3 -m PyInstaller --onefile --icon=updater.ico updater.py mkdir -p "${GITHUB_WORKSPACE}/${RELEASE_DIR}/Updater"