We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ab54fc commit bbdc4faCopy full SHA for bbdc4fa
1 file changed
.github/workflows/dev_package_and_upload.yml
@@ -70,18 +70,8 @@ jobs:
70
- name: Install UPX on Linux
71
if: ${{ runner.os == 'Linux' && steps.cache-upx.outputs.cache-hit != 'true' }}
72
run: |
73
- case "${{ runner.arch }}" in
74
- amd64)
75
- UPX_ARCH=x86_64
76
- ;;
77
- arm64)
78
- UPX_ARCH=aarch64
79
80
- esac
81
-
82
- UPX_VERSION=${{ env.UPXVERSION }}
83
- UPX_URL="https://github.com/upx/upx/releases/download/v${UPX_VERSION}/upx-${UPX_VERSION}-linux-${UPX_ARCH}.tar.xz"
84
+ UPX_URL="https://github.com/upx/upx/releases/download/v${UPX_VERSION}/upx-${{ env.UPXVERSION }}-${{ runner.arch }}_linux.tar.xz"
85
curl -L "$UPX_URL" -o upx.tar.xz
86
tar -xf upx.tar.xz -C ./upx --strip-components=1
87
chmod +x ./upx/upx
0 commit comments