From b86a9dc9eb1ddf486ab4bc560db61f71d64a21be Mon Sep 17 00:00:00 2001 From: Leon Mika Date: Sat, 2 May 2026 09:40:04 +1000 Subject: [PATCH] Bootstrap Go module and action skeleton Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitignore | 12 ++++++++++++ action.yml | 7 +++++++ cmd/wails-release/main.go | 15 +++++++++++++++ go.mod | 3 +++ 4 files changed, 37 insertions(+) create mode 100644 .gitignore create mode 100644 action.yml create mode 100644 cmd/wails-release/main.go create mode 100644 go.mod diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f0e024d --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +# Build output +/dist/ +/bin/ + +# Go +*.test +*.out + +# Editor +.idea/ +.vscode/ +.DS_Store diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..b150388 --- /dev/null +++ b/action.yml @@ -0,0 +1,7 @@ +name: Wails Release +description: Build, sign, notarize and (optionally) upload a Wails macOS app +runs: + using: composite + steps: + - shell: bash + run: echo "wails-release stub" diff --git a/cmd/wails-release/main.go b/cmd/wails-release/main.go new file mode 100644 index 0000000..7be299d --- /dev/null +++ b/cmd/wails-release/main.go @@ -0,0 +1,15 @@ +package main + +import ( + "fmt" + "os" + "runtime" +) + +func main() { + if runtime.GOOS != "darwin" { + fmt.Fprintln(os.Stderr, "wails-release: only macOS runners are supported") + os.Exit(1) + } + fmt.Println("wails-release: stub") +} diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..bd1229a --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module github.com/leonmika/wails-release + +go 1.24.3