From ca52845c65578c75d942002f16566debff8dcb8e Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Sat, 21 May 2022 15:28:43 -0400 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ae07c0c0..18a2526d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -479,27 +479,27 @@ jobs: fi tar -C dist/ --create --verbose --exclude-from "${GITHUB_WORKSPACE}/.github/actions/package_exclusions.txt" --file $GAM_ARCHIVE --xz gam - - name: Linux install patchelf/staticx - if: runner.os == 'Linux' && runner.arch == 'X64' && matrix.goal != 'test' + - name: Linux 64-bit install patchelf/staticx + if: runner.os == 'Linux' && contains(runner.arch, '64') && matrix.goal != 'test' run: | "${PYTHON}" -m pip install --upgrade patchelf-wrapper "${PYTHON}" -m pip install --upgrade staticx - - name: Linux Make Static - if: runner.os == 'Linux' && runner.arch == 'X64' && matrix.goal != 'test' + - name: Linux 64-bit Make Static + if: runner.os == 'Linux' && contains(runner.arch, '64') && matrix.goal != 'test' run: | $PYTHON -m staticx --debug "${gam}" "${gam}-staticx" - name: Linux Run StaticX-ed - if: runner.os == 'Linux' && runner.arch == 'X64' && matrix.goal != 'test' + if: runner.os == 'Linux' && contains(runner.arch, '64') && matrix.goal != 'test' run: | "${gam}-staticx" version extended mv -v "${gam}-staticx" "${gam}" - name: Linux package staticx - if: runner.os == 'Linux' && runner.arch == 'X64' && matrix.goal != 'test' + if: runner.os == 'Linux' && contains(runner.arch, '64') && matrix.goal != 'test' run: | - GAM_ARCHIVE="gam-${GAMVERSION}-linux-x86_64-legacy.tar.xz" + GAM_ARCHIVE="gam-${GAMVERSION}-linux-${RUNNER_ARCH}-legacy.tar.xz" tar -C dist/ --create --verbose --exclude-from "${GITHUB_WORKSPACE}/.github/actions/package_exclusions.txt" --file $GAM_ARCHIVE --xz gam - name: Windows package