mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
Update build.yml
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -465,13 +465,16 @@ jobs:
|
|||||||
|
|
||||||
- name: Create and use Python venv
|
- name: Create and use Python venv
|
||||||
run: |
|
run: |
|
||||||
|
echo "1) ${PYTHON}"
|
||||||
"$PYTHON" -m venv venv
|
"$PYTHON" -m venv venv
|
||||||
if [[ "${RUNNER_OS}" == "Windows" ]]; then
|
if [[ "${RUNNER_OS}" == "Windows" ]]; then
|
||||||
PYTHON=venv/scripts/python.exe
|
export PYTHON=venv/scripts/python.exe
|
||||||
else
|
else
|
||||||
PYTHON=venv/bin/python
|
export PYTHON=venv/bin/python
|
||||||
fi
|
fi
|
||||||
PYTHON=$(realpath "$PYTHON")
|
echo "2) ${PYTHON}"
|
||||||
|
export PYTHON=$(realpath "$PYTHON")
|
||||||
|
echo "3) ${PYTHON}"
|
||||||
echo "PYTHON=${PYTHON}" >> $GITHUB_ENV
|
echo "PYTHON=${PYTHON}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Install pip requirements
|
- name: Install pip requirements
|
||||||
|
|||||||
Reference in New Issue
Block a user