From b0d9cc871ff3bbae2acc4ed66160c8ba56dab003 Mon Sep 17 00:00:00 2001 From: VendorAttestation <132447890+VendorAttestation@users.noreply.github.com> Date: Wed, 16 Oct 2024 01:22:01 -0500 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2a171c7..2b6ee17 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -96,8 +96,9 @@ jobs: - name: Install dependencies run: | - sudo apt-get update && DEBIAN_FRONTEND=noninteractive sudo apt-get install -y build-essential ninja-build gcc-multilib g++-multilib lib32stdc++-9-dev flex bison libc6-dev libc6-dev-i386 xz-utils plzip zstd pigz gettext-base # upx tree - sudo /opt/hostedtoolcache/Python/3.12.*/x64/bin/pip3 install -U setuptools lief + [ $(id -u) -eq 0 ] || SUDO=sudo + ${SUDO} apt-get update && DEBIAN_FRONTEND=noninteractive ${SUDO} apt-get install -y build-essential ninja-build gcc-multilib g++-multilib lib32stdc++-9-dev flex bison libc6-dev libc6-dev-i386 xz-utils plzip zstd pigz gettext-base # upx tree + ${SUDO} /opt/hostedtoolcache/Python/3.12.*/x64/bin/pip3 install -U setuptools lief _CARCH="${{ matrix.arch }}"; if [ "${_CARCH%64}" = "${_CARCH}" ]; then # && bit_width=32 || bit_width=64 pushd /opt/hostedtoolcache/Python/3.12.*/x64/include/python3.12; patch -Rp1 <${{ github.workspace }}/pyconfig.h-i686-x86_64.patch; popd @@ -217,7 +218,7 @@ jobs: sha256sum "${_target}" | awk '{print $1}' > "${_target}.sha256sum" done zip -9qr "${OLDPWD}/u-${j%-}.zip" * - #gh_release_put "${OLDPWD}/u-${j%-}.zip" "${GITHUB_REPOSITORY##*/}-${j}${FRIDA_VERSION}-${zy_ver}.zip" + gh_release_put "${OLDPWD}/u-${j%-}.zip" "${GITHUB_REPOSITORY##*/}-${j}${FRIDA_VERSION}-${zy_ver}.zip" rm -rf * popd done