From be0db6ec8f323173b0b024eac24fdc1c3a3706b5 Mon Sep 17 00:00:00 2001 From: Jacob Hummer Date: Tue, 23 Jul 2024 20:10:40 -0500 Subject: [PATCH] Update pyinstaller.yml --- .github/workflows/pyinstaller.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pyinstaller.yml b/.github/workflows/pyinstaller.yml index c145f2d015..d9c2d4873b 100644 --- a/.github/workflows/pyinstaller.yml +++ b/.github/workflows/pyinstaller.yml @@ -50,8 +50,15 @@ jobs: submodules: recursive - uses: actions/setup-python@v5 with: - python-version: "3.12" - - run: pip install pipenv --user + python-version: "3.11" + # https://pipenv.pypa.io/en/latest/installation.html + - run: | + pip install pipenv --user + if [ "$OS" = "Windows_NT" ]; then + echo "$(python -m site --user-base | sed 's/site-packages/Scripts/')" >> "$GITHUB_PATH" + else + echo "$(python -m site --user-base)/bin" >> "$GITHUB_PATH" + fi - run: pipenv install --dev -e . - run: pipenv install pyinstaller - run: pipenv run bikeshed update