mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-03-20 03:46:09 +08:00
20 lines
294 B
Go
20 lines
294 B
Go
package main
|
|
|
|
import (
|
|
_ "embed"
|
|
|
|
"gitea.com/gitea/act_runner/cmd"
|
|
"gitea.com/gitea/act_runner/pkg/common"
|
|
)
|
|
|
|
//go:embed VERSION
|
|
var version string
|
|
|
|
func main() {
|
|
ctx, cancel := common.CreateGracefulJobCancellationContext()
|
|
defer cancel()
|
|
|
|
// run the command
|
|
cmd.Execute(ctx, version)
|
|
}
|