Update build.yml

This commit is contained in:
Jay Lee
2022-05-21 16:46:28 -04:00
committed by GitHub
parent 12d6c8c3f5
commit 370db726a4

View File

@ -496,11 +496,7 @@ jobs:
- name: Linux package staticx - name: Linux package staticx
if: runner.os == 'Linux' && contains(runner.arch, '64') && matrix.goal != 'test' if: runner.os == 'Linux' && contains(runner.arch, '64') && matrix.goal != 'test'
run: | run: |
gamarch="${RUNNER_ARCH}" GAM_ARCHIVE="gam-${GAMVERSION}-linux-$(uname -m)-legacy.tar.xz"
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 tar -C dist/ --create --verbose --exclude-from "${GITHUB_WORKSPACE}/.github/actions/package_exclusions.txt" --file $GAM_ARCHIVE --xz gam
- name: Windows package - name: Windows package