Update build.yml

This commit is contained in:
Jay Lee
2022-02-01 09:08:07 -05:00
committed by GitHub
parent f161b165b2
commit b628c34b20

View File

@ -341,7 +341,7 @@ jobs:
export latest_release=$(git tag --list | grep -v dev | grep -v rc | sort -Vr | head -n1)
git checkout "${latest_release}"
# remove pre-compiled bootloaders so we fail if bootloader compile fails
rm -rf PyInstaller/bootloader/*-*/*
rm -rvf PyInstaller/bootloader/*-*/*
cd bootloader
if [[ "${arch}" == "Win32" ]]; then
export PYINSTALLER_BUILD_ARGS="--target-arch=32bit"
@ -378,7 +378,7 @@ jobs:
export GAMVERSION=$($gam version simple)
echo "GAM Version ${GAMVERSION}"
echo "GAMVERSION=${GAMVERSION}" >> $GITHUB_ENV
rm -v "${gampath}/lastup*.txt"
rm -v -f "${gampath}/lastup*.txt"
- name: Linux/MacOS package
@ -410,7 +410,7 @@ jobs:
run: |
"${gam}-staticx" version extended
mv -v "${gam}-staticx" "${gam}"
rm -v "${gampath}/lastup*.txt"
rm -v -f "${gampath}/lastup*.txt"
- name: Linux package staticx
if: matrix.os == 'ubuntu-20.04' && matrix.goal != 'test'
@ -577,7 +577,7 @@ jobs:
$gam print printermodels | wc -l
#$gam print printers
#$gam create printer displayname "${newbase}" uri ipp://localhost:631 driverless description "made by $(date)"
rm $gampath/enabledasa.txt
rm -f -v $gampath/enabledasa.txt
- name: Upload to Google Drive, build only.
if: github.event_name == 'push' && matrix.goal != 'test'