Update build.yml

This commit is contained in:
Jay Lee
2022-03-28 19:39:17 -04:00
committed by GitHub
parent 5684ab3c05
commit 8df5d22805

View File

@@ -83,7 +83,7 @@ jobs:
with:
path: |
bin
key: gam-${{ matrix.jid }}-20220325
key: gam-${{ matrix.jid }}-20220328
- name: Use pre-compiled Python for testing
if: matrix.python != ''
@@ -289,7 +289,8 @@ jobs:
cd "${GITHUB_WORKSPACE}/src"
git clone https://github.com/python/cpython.git
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}"
export COMPILED_PYTHON_VERSION=${LATEST_STABLE_TAG:1} # Trim the "v" prefix
echo "COMPILED_PYTHON_VERSION=${COMPILED_PYTHON_VERSION}" >> $GITHUB_ENV
@@ -396,8 +397,6 @@ jobs:
- name: Install PyInstaller
if: matrix.goal == 'build'
run: |
tmpd=$(mktemp -d -t pyinstaller-XXXX)
cd $tmpd
git clone https://github.com/pyinstaller/pyinstaller.git
cd pyinstaller
export latest_release=$(git tag --list | grep -v dev | grep -v rc | sort -Vr | head -n1)