Update build-windows.yml

This commit is contained in:
Evan Su 2024-06-17 23:31:42 -04:00 committed by GitHub
parent d9cb9d703b
commit 293c1a822f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,17 +33,17 @@ jobs:
env: env:
CGO_ENABLED: 1 CGO_ENABLED: 1
- name: Add icon and manifest # - name: Add icon and manifest
run: | # run: |
wget https://www.angusj.com/resourcehacker/reshacker_setup.exe # Invoke-WebRequest https://www.angusj.com/resourcehacker/reshacker_setup.exe
reshacker_setup.exe /SILENT # reshacker_setup.exe /SILENT
rh # rh
- name: Compress with upx # - name: Compress with upx
run: | # run: |
wget https://github.com/upx/upx/releases/download/v4.2.4/upx-4.2.4-win64.zip # Invoke-WebRequest https://github.com/upx/upx/releases/download/v4.2.4/upx-4.2.4-win64.zip
Expand-Archive upx-4.2.4-win64.zip -DestinationPath upx # Expand-Archive upx-4.2.4-win64.zip -DestinationPath upx
upx/upx-4.2.4-win64/upx.exe --lzma --brute src/Picocrypt.exe # upx/upx-4.2.4-win64/upx.exe --lzma --brute src/Picocrypt.exe
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4