Skip to content

Build for Windows

Build for Windows #10

Workflow file for this run

name: Windows Build
on:
workflow_dispatch: # Allow manual execution
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23
- name: Install Dependencies
run: |
choco install make -y
make test
continue-on-error: false
- name: Build for Windows
run: |
make build GOGG_BINARY=gogg.exe
continue-on-error: false
- name: List Build Directory (for Debugging)
run: ls -R bin
- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
name: gogg-windows-amd64
path: 'bin/gogg.exe'