Skip to content

Windows Build

Windows Build #4

Workflow file for this run

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