Update build.yml

This commit is contained in:
Jay Lee
2022-03-28 20:18:01 -04:00
committed by GitHub
parent 8df5d22805
commit 5356591d9c

View File

@@ -83,7 +83,7 @@ jobs:
with: with:
path: | path: |
bin bin
key: gam-${{ matrix.jid }}-20220328 key: gam-${{ matrix.jid }}-20220328-01
- name: Use pre-compiled Python for testing - name: Use pre-compiled Python for testing
if: matrix.python != '' if: matrix.python != ''
@@ -289,8 +289,7 @@ jobs:
cd "${GITHUB_WORKSPACE}/src" cd "${GITHUB_WORKSPACE}/src"
git clone https://github.com/python/cpython.git git clone https://github.com/python/cpython.git
cd "${PYTHON_SOURCE_PATH}" cd "${PYTHON_SOURCE_PATH}"
#export LATEST_STABLE_TAG=$(git tag --list | grep -v a | grep -v rc | grep -v b | sort -Vr | head -n1) export LATEST_STABLE_TAG=$(git tag --list | grep -v a | grep -v rc | grep -v b | sort -Vr | head -n1)
export LATEST_STABLE_TAG=v3.10.2
git checkout "${LATEST_STABLE_TAG}" git checkout "${LATEST_STABLE_TAG}"
export COMPILED_PYTHON_VERSION=${LATEST_STABLE_TAG:1} # Trim the "v" prefix export COMPILED_PYTHON_VERSION=${LATEST_STABLE_TAG:1} # Trim the "v" prefix
echo "COMPILED_PYTHON_VERSION=${COMPILED_PYTHON_VERSION}" >> $GITHUB_ENV echo "COMPILED_PYTHON_VERSION=${COMPILED_PYTHON_VERSION}" >> $GITHUB_ENV
@@ -399,7 +398,8 @@ jobs:
run: | run: |
git clone https://github.com/pyinstaller/pyinstaller.git git clone https://github.com/pyinstaller/pyinstaller.git
cd pyinstaller cd pyinstaller
export latest_release=$(git tag --list | grep -v dev | grep -v rc | sort -Vr | head -n1) #export latest_release=$(git tag --list | grep -v dev | grep -v rc | sort -Vr | head -n1)
latest_release=v4.9
git checkout "${latest_release}" git checkout "${latest_release}"
# remove pre-compiled bootloaders so we fail if bootloader compile fails # remove pre-compiled bootloaders so we fail if bootloader compile fails
rm -rvf PyInstaller/bootloader/*-*/* rm -rvf PyInstaller/bootloader/*-*/*