Update build.yml

This commit is contained in:
Jay Lee
2022-03-07 15:24:07 -05:00
committed by GitHub
parent 1bf1c43f23
commit dcc2224657

View File

@@ -285,6 +285,7 @@ jobs:
- name: Get latest stable Python source
if: matrix.goal == 'build' && steps.cache-python-ssl.outputs.cache-hit != 'true'
run: |
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)