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