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
293c1a822f
commit
c5579174fc
1 changed files with 8 additions and 6 deletions
14
.github/workflows/build-windows.yml
vendored
14
.github/workflows/build-windows.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
go-version: '>=1.22'
|
go-version: '>=1.22'
|
||||||
check-latest: true
|
check-latest: true
|
||||||
cache-dependency-path: "**/go.sum"
|
cache: false
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
@ -34,16 +34,18 @@ jobs:
|
||||||
CGO_ENABLED: 1
|
CGO_ENABLED: 1
|
||||||
|
|
||||||
# - name: Add icon and manifest
|
# - name: Add icon and manifest
|
||||||
|
# shell: pwsh
|
||||||
# run: |
|
# run: |
|
||||||
# Invoke-WebRequest 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: |
|
shell: pwsh
|
||||||
# Invoke-WebRequest https://github.com/upx/upx/releases/download/v4.2.4/upx-4.2.4-win64.zip
|
run: |
|
||||||
# Expand-Archive upx-4.2.4-win64.zip -DestinationPath upx
|
Invoke-WebRequest https://github.com/upx/upx/releases/download/v4.2.4/upx-4.2.4-win64.zip -OutFile upx.zip
|
||||||
# upx/upx-4.2.4-win64/upx.exe --lzma --brute src/Picocrypt.exe
|
Expand-Archive upx.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
|
||||||
|
|
Loading…
Add table
Reference in a new issue