mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-08 05:33:34 +00:00
Update build.yml
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -341,7 +341,7 @@ jobs:
|
|||||||
export latest_release=$(git tag --list | grep -v dev | grep -v rc | sort -Vr | head -n1)
|
export latest_release=$(git tag --list | grep -v dev | grep -v rc | sort -Vr | head -n1)
|
||||||
git checkout "${latest_release}"
|
git checkout "${latest_release}"
|
||||||
# remove pre-compiled bootloaders so we fail if bootloader compile fails
|
# remove pre-compiled bootloaders so we fail if bootloader compile fails
|
||||||
rm -rf PyInstaller/bootloader/*-*/*
|
rm -rvf PyInstaller/bootloader/*-*/*
|
||||||
cd bootloader
|
cd bootloader
|
||||||
if [[ "${arch}" == "Win32" ]]; then
|
if [[ "${arch}" == "Win32" ]]; then
|
||||||
export PYINSTALLER_BUILD_ARGS="--target-arch=32bit"
|
export PYINSTALLER_BUILD_ARGS="--target-arch=32bit"
|
||||||
@ -378,7 +378,7 @@ jobs:
|
|||||||
export GAMVERSION=$($gam version simple)
|
export GAMVERSION=$($gam version simple)
|
||||||
echo "GAM Version ${GAMVERSION}"
|
echo "GAM Version ${GAMVERSION}"
|
||||||
echo "GAMVERSION=${GAMVERSION}" >> $GITHUB_ENV
|
echo "GAMVERSION=${GAMVERSION}" >> $GITHUB_ENV
|
||||||
rm -v "${gampath}/lastup*.txt"
|
rm -v -f "${gampath}/lastup*.txt"
|
||||||
|
|
||||||
|
|
||||||
- name: Linux/MacOS package
|
- name: Linux/MacOS package
|
||||||
@ -410,7 +410,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
"${gam}-staticx" version extended
|
"${gam}-staticx" version extended
|
||||||
mv -v "${gam}-staticx" "${gam}"
|
mv -v "${gam}-staticx" "${gam}"
|
||||||
rm -v "${gampath}/lastup*.txt"
|
rm -v -f "${gampath}/lastup*.txt"
|
||||||
|
|
||||||
- name: Linux package staticx
|
- name: Linux package staticx
|
||||||
if: matrix.os == 'ubuntu-20.04' && matrix.goal != 'test'
|
if: matrix.os == 'ubuntu-20.04' && matrix.goal != 'test'
|
||||||
@ -577,7 +577,7 @@ jobs:
|
|||||||
$gam print printermodels | wc -l
|
$gam print printermodels | wc -l
|
||||||
#$gam print printers
|
#$gam print printers
|
||||||
#$gam create printer displayname "${newbase}" uri ipp://localhost:631 driverless description "made by $(date)"
|
#$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.
|
- name: Upload to Google Drive, build only.
|
||||||
if: github.event_name == 'push' && matrix.goal != 'test'
|
if: github.event_name == 'push' && matrix.goal != 'test'
|
||||||
|
Reference in New Issue
Block a user