From 370db726a42c6f78be832b0306fabf88776039f4 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Sat, 21 May 2022 16:46:28 -0400 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 18f30a72..7adec328 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -496,11 +496,7 @@ jobs: - name: Linux package staticx if: runner.os == 'Linux' && contains(runner.arch, '64') && matrix.goal != 'test' run: | - gamarch="${RUNNER_ARCH}" - if [[ "${gamarch}" == "X64" ]]; then - gamarch="x86_64" - fi - GAM_ARCHIVE="gam-${GAMVERSION}-linux-${gamarch}-legacy.tar.xz" + GAM_ARCHIVE="gam-${GAMVERSION}-linux-$(uname -m)-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