do_simple/main.go
vitaliy e4656b11be
All checks were successful
Test Go Action / use-go-action (push) Successful in 1m52s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 29s
fix
2024-12-26 12:35:03 +03:00

16 lines
249 B
Go

package main
import (
"fmt"
"time"
gha "github.com/sethvargo/go-githubactions"
)
func main() {
username := gha.GetInput("username")
fmt.Printf("username is %s\n", username)
gha.SetOutput("time", time.Now().Format("2024-01-02 15:04:05"))
}