add windows ci (which literally nobody will use)
This commit is contained in:
29
.github/workflows/windows.yml
vendored
Normal file
29
.github/workflows/windows.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
# This workflow will build a golang project for Windows
|
||||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
|
||||
|
||||
name: build for windows
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.24'
|
||||
|
||||
- name: Build
|
||||
run: go build -o pi-im.exe .
|
||||
|
||||
- name: Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: pi-binary-windows
|
||||
path: pi-im.exe
|
Reference in New Issue
Block a user