mirror of
https://github.com/Picocrypt/Picocrypt.git
synced 2025-05-13 06:08:30 +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:
|
env:
|
||||||
CGO_ENABLED: 1
|
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
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: build-windows
|
name: build-windows
|
||||||
path: Picocrypt.exe
|
path: src/Picocrypt.exe
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
compression-level: 9
|
compression-level: 9
|
||||||
|
|
Loading…
Add table
Reference in a new issue