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