diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index a8b0d75..e8d0cd0 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -41,6 +41,12 @@ jobs: CGO_ENABLED: 1 GOAMD64: v1 + - name: Compress with upx + run: | + wget -O upx.tar.xz https://github.com/upx/upx/releases/download/v5.0.2/upx-5.0.2-amd64_linux.tar.xz + tar -xf upx.tar.xz + upx-5.0.2-amd64_linux/upx --lzma src/Picocrypt + - name: Package as .deb run: | wget https://github.com/user-attachments/files/16136712/Picocrypt.zip diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 5b491c8..bf28e65 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -60,9 +60,9 @@ jobs: - name: Compress with upx shell: pwsh run: | - Invoke-WebRequest -OutFile upx.zip https://github.com/user-attachments/files/15894908/upx-4.2.4-win64.zip + Invoke-WebRequest -OutFile upx.zip https://github.com/upx/upx/releases/download/v5.0.2/upx-5.0.2-win64.zip Expand-Archive -DestinationPath upx upx.zip - upx/upx-4.2.4-win64/upx.exe --lzma --brute -o src/Picocrypt.exe src/5.exe + upx/upx-5.0.2-win64/upx.exe --lzma -o src/Picocrypt.exe src/5.exe - name: Upload artifact uses: actions/upload-artifact@v4 diff --git a/.github/workflows/pr-test-build-linux.yml b/.github/workflows/pr-test-build-linux.yml index 2542dcd..653830b 100644 --- a/.github/workflows/pr-test-build-linux.yml +++ b/.github/workflows/pr-test-build-linux.yml @@ -38,6 +38,12 @@ jobs: CGO_ENABLED: 1 GOAMD64: v1 + - name: Compress with upx + run: | + wget -O upx.tar.xz https://github.com/upx/upx/releases/download/v5.0.2/upx-5.0.2-amd64_linux.tar.xz + tar -xf upx.tar.xz + upx-5.0.2-amd64_linux/upx --lzma src/Picocrypt + - name: Package as .deb run: | wget https://github.com/user-attachments/files/16136712/Picocrypt.zip diff --git a/.github/workflows/pr-test-build-windows.yml b/.github/workflows/pr-test-build-windows.yml index 44bb4da..e1fb58c 100644 --- a/.github/workflows/pr-test-build-windows.yml +++ b/.github/workflows/pr-test-build-windows.yml @@ -57,9 +57,9 @@ jobs: - name: Compress with upx shell: pwsh run: | - Invoke-WebRequest -OutFile upx.zip https://github.com/user-attachments/files/15894908/upx-4.2.4-win64.zip + Invoke-WebRequest -OutFile upx.zip https://github.com/upx/upx/releases/download/v5.0.2/upx-5.0.2-win64.zip Expand-Archive -DestinationPath upx upx.zip - upx/upx-4.2.4-win64/upx.exe --lzma --brute -o src/Picocrypt.exe src/5.exe + upx/upx-5.0.2-win64/upx.exe --lzma -o src/Picocrypt.exe src/5.exe - name: Upload artifact uses: actions/upload-artifact@v4 diff --git a/Changelog.md b/Changelog.md index 60b5fe0..f1a7c10 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,6 +2,7 @@