commit c4b432fa75fc191caafeb67a963059382c55a6fd Author: fghwett <1058178245@qq.com> Date: Wed Dec 20 22:00:47 2023 +0800 first version diff --git a/action.yaml b/action.yaml new file mode 100644 index 0000000..3ed56ae --- /dev/null +++ b/action.yaml @@ -0,0 +1,5 @@ +name: 'Simple Go Action' +description: 'A simple Gitea Action written in Go' +runs: + using: 'go' + main: 'main.go' \ No newline at end of file diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..c63dd3e --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module simple-go-action + +go 1.21.1 diff --git a/main.go b/main.go new file mode 100644 index 0000000..a3dd973 --- /dev/null +++ b/main.go @@ -0,0 +1,7 @@ +package main + +import "fmt" + +func main() { + fmt.Println("Hello, World!") +}