mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-08 13:43:35 +00:00
Update build.yml
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -163,7 +163,6 @@ jobs:
|
|||||||
echo "PYTHON=${PYTHON_INSTALL_PATH}\python.exe" >> $GITHUB_ENV
|
echo "PYTHON=${PYTHON_INSTALL_PATH}\python.exe" >> $GITHUB_ENV
|
||||||
export date=date
|
export date=date
|
||||||
export realpath=realpath
|
export realpath=realpath
|
||||||
choco install $CHOC_OPS swig
|
|
||||||
fi
|
fi
|
||||||
echo "date=${date}" >> $GITHUB_ENV
|
echo "date=${date}" >> $GITHUB_ENV
|
||||||
echo "realpath=${realpath}" >> $GITHUB_ENV
|
echo "realpath=${realpath}" >> $GITHUB_ENV
|
||||||
@ -347,7 +346,11 @@ jobs:
|
|||||||
set +e
|
set +e
|
||||||
PATH="${PATH}:${PYTHON_INSTALL_PATH}/scripts"
|
PATH="${PATH}:${PYTHON_INSTALL_PATH}/scripts"
|
||||||
echo $PATH
|
echo $PATH
|
||||||
"${PYTHON}" -m pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 $PYTHON -m pip install -U --force-reinstall
|
if [[ "${arch} == "Win32" ]]; then
|
||||||
|
choco install --force --upgrade --forcex86 swig
|
||||||
|
elif [[ "${arch}" == "Win64" ]]; then
|
||||||
|
choco install --force --upgrade swig
|
||||||
|
fi
|
||||||
"${PYTHON}" -m pip install --upgrade -r requirements.txt
|
"${PYTHON}" -m pip install --upgrade -r requirements.txt
|
||||||
|
|
||||||
- name: Build GAM with PyInstaller
|
- name: Build GAM with PyInstaller
|
||||||
|
Reference in New Issue
Block a user