From 3d919f5df603d1742852f7c4770635d3b19471a9 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Fri, 14 Apr 2023 18:09:04 +0000 Subject: [PATCH] fix legacy linux package name --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f4f3b73f..5c07e9f5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -564,8 +564,11 @@ jobs: if [[ "${RUNNER_OS}" == "macOS" ]]; then GAM_ARCHIVE="gam-${GAMVERSION}-macos-universal2.tar.xz" elif [[ "${RUNNER_OS}" == "Linux" ]]; then - this_glibc_ver=$(ldd --version | awk '/ldd/{print $NF}') - GAM_ARCHIVE="gam-${GAMVERSION}-linux-$(arch)-glibc${this_glibc_ver}.tar.xz" + if [[ "${staticx}" == "yes" ]]; then + libver="legacy" + else + libver="glibc-$(ldd --version | awk '/ldd/{print $NF}')" + GAM_ARCHIVE="gam-${GAMVERSION}-linux-$(arch)-$libver}.tar.xz" fi tar -C dist/ --create --verbose --exclude-from "${GITHUB_WORKSPACE}/.github/actions/package_exclusions.txt" --file $GAM_ARCHIVE --xz gam