mirror of
https://github.com/Picocrypt/Picocrypt.git
synced 2025-05-12 21:58:31 +02:00
Update build-windows.yml
This commit is contained in:
parent
b1ef128253
commit
958f1b9d79
1 changed files with 13 additions and 1 deletions
14
.github/workflows/build-windows.yml
vendored
14
.github/workflows/build-windows.yml
vendored
|
@ -32,10 +32,22 @@ jobs:
|
|||
env:
|
||||
CGO_ENABLED: 1
|
||||
|
||||
- name: Add icon and manifest
|
||||
run: |
|
||||
wget https://www.angusj.com/resourcehacker/reshacker_setup.exe
|
||||
reshacker_setup.exe /SILENT
|
||||
rh
|
||||
|
||||
- name: Compress with upx
|
||||
run: |
|
||||
wget 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
|
||||
upx/upx-4.2.4-win64/upx.exe --lzma --brute src/Picocrypt.exe
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: build-windows
|
||||
path: Picocrypt.exe
|
||||
path: src/Picocrypt.exe
|
||||
if-no-files-found: error
|
||||
compression-level: 9
|
||||
|
|
Loading…
Add table
Reference in a new issue