Build for Windows #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |