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