Update build.yml

This commit is contained in:
Jay Lee
2026-04-08 17:35:38 -04:00
committed by GitHub
parent dab7ec6884
commit 64a3af0952

View File

@@ -165,7 +165,7 @@ jobs:
with:
path: |
cache.tar.xz
key: gam-${{ matrix.jid }}-20260408
key: gam-${{ matrix.jid }}-20260408-01
- name: Untar Cache archive
if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit == 'true'
@@ -393,7 +393,12 @@ 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)
if [[ "${RUNNER_OS}" != "Linux" ]]; then
# TEMP lock Linux to 3.14.3 until the PyInstaller multiprocess issues are resolved.
export LATEST_STABLE_TAG="v3.14.3"
else
export LATEST_STABLE_TAG=$(git tag --list | grep -v a | grep -v rc | grep -v b | sort -Vr | head -n1)
fi
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