test pin to python 3.11.3

This commit is contained in:
Jay Lee
2023-06-07 17:51:21 -04:00
committed by GitHub
parent 5f0774a84f
commit 9c3a0964b6

View File

@@ -109,7 +109,7 @@ jobs:
path: |
bin.tar.xz
src/cpython
key: gam-${{ matrix.jid }}-20230607
key: gam-${{ matrix.jid }}-20230607-py3113
- name: Untar Cache archive
if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit == 'true'
@@ -331,6 +331,7 @@ jobs:
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="v3.11.3"
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