Bootstrap Go module and action skeleton

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Leon Mika 2026-05-02 09:40:04 +10:00
parent a155c3ab7a
commit b86a9dc9eb
4 changed files with 37 additions and 0 deletions

12
.gitignore vendored Normal file
View file

@ -0,0 +1,12 @@
# Build output
/dist/
/bin/
# Go
*.test
*.out
# Editor
.idea/
.vscode/
.DS_Store

7
action.yml Normal file
View file

@ -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"

15
cmd/wails-release/main.go Normal file
View file

@ -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")
}

3
go.mod Normal file
View file

@ -0,0 +1,3 @@
module github.com/leonmika/wails-release
go 1.24.3