2026-02-13 13:28:32 -05:00
|
|
|
package main
|
|
|
|
|
|
2026-02-13 13:55:52 -05:00
|
|
|
import (
|
2026-02-13 14:05:43 -05:00
|
|
|
"fmt"
|
|
|
|
|
"time"
|
2026-02-13 14:31:56 -05:00
|
|
|
|
|
|
|
|
ga "github.com/sethvargo/go-githubactions"
|
2026-02-13 13:55:52 -05:00
|
|
|
)
|
2026-02-13 13:28:32 -05:00
|
|
|
|
|
|
|
|
func main() {
|
2026-02-13 14:31:56 -05:00
|
|
|
username := ga.GetInput("username")
|
2026-02-13 14:05:43 -05:00
|
|
|
fmt.Printf("username is %s\n", username)
|
|
|
|
|
|
2026-02-13 14:31:56 -05:00
|
|
|
ga.SetOutput("time", time.Now().Format("2006-01-02 15:04:05"))
|
2026-02-13 13:28:32 -05:00
|
|
|
}
|