A simple GitHub Action written in Go that prints a message.
Optional The message to print. Default "Hello, World!"
.
uses: your-username/hello-action@v1
with:
message: 'Hello from my workflow!'
This action is written in Go and uses Docker to run. To build locally:
-
Build the Go binary:
go build -o main .
-
Build the Docker image:
docker build -t hello-action .