do_simple/main.go
root c793b801bf
All checks were successful
Test Go Action / use-go-action (push) Successful in 1m37s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
fix: Add double string
2025-06-28 10:49:44 +03:00

17 lines
291 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)
fmt.Printf("username is %s\n", username)
gha.SetOutput("time", time.Now().Format("2024-01-02 15:04:05"))
}