Update build-windows.yml: use windows-2025

This commit is contained in:
Evan Su 2025-01-21 22:42:27 -05:00 committed by GitHub
parent 3fdddfb57d
commit bc4d029cf0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,10 +9,11 @@ on:
- "VERSION"
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: windows-2022
runs-on: windows-2025
steps:
- uses: actions/checkout@v4
@ -34,7 +35,7 @@ jobs:
go build -v -ldflags="-s -w -H=windowsgui -extldflags=-static" -o 1.exe Picocrypt.go
env:
CGO_ENABLED: 1
GOAMD64: v2
GOAMD64: v1
- name: Add icon, manifest, and version info
shell: pwsh
@ -67,7 +68,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: build-windows
path: src/Picocrypt.exe
path: src/*.exe
if-no-files-found: error
compression-level: 9