Bootstrap Go module and action skeleton
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a155c3ab7a
commit
b86a9dc9eb
12
.gitignore
vendored
Normal file
12
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
# Build output
|
||||||
|
/dist/
|
||||||
|
/bin/
|
||||||
|
|
||||||
|
# Go
|
||||||
|
*.test
|
||||||
|
*.out
|
||||||
|
|
||||||
|
# Editor
|
||||||
|
.idea/
|
||||||
|
.vscode/
|
||||||
|
.DS_Store
|
||||||
7
action.yml
Normal file
7
action.yml
Normal 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
15
cmd/wails-release/main.go
Normal 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")
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue