Common setup-python in github action (#15901)

This commit is contained in:
Hao Liu
2025-04-03 11:14:52 -04:00
committed by GitHub
parent 2389fc691e
commit 9ec7540c4b
10 changed files with 43 additions and 42 deletions

View File

@@ -23,13 +23,7 @@ jobs:
with:
show-progress: false
- name: Get python version from Makefile
run: echo py_version=`make PYTHON_VERSION` >> $GITHUB_ENV
- name: Install python ${{ env.py_version }}
uses: actions/setup-python@v4
with:
python-version: ${{ env.py_version }}
- uses: ./.github/actions/setup-python
- name: Log in to registry
run: |