Skip to content

Commit bbdc4fa

Browse files
committed
update
1 parent 8ab54fc commit bbdc4fa

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

.github/workflows/dev_package_and_upload.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,18 +70,8 @@ jobs:
7070
- name: Install UPX on Linux
7171
if: ${{ runner.os == 'Linux' && steps.cache-upx.outputs.cache-hit != 'true' }}
7272
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"
8473
74+
UPX_URL="https://github.com/upx/upx/releases/download/v${UPX_VERSION}/upx-${{ env.UPXVERSION }}-${{ runner.arch }}_linux.tar.xz"
8575
curl -L "$UPX_URL" -o upx.tar.xz
8676
tar -xf upx.tar.xz -C ./upx --strip-components=1
8777
chmod +x ./upx/upx

0 commit comments

Comments
 (0)