mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-02-28 17:00:19 +00:00
* for gh-act-runner * act-cli support as well * respecting always() and cancelled() of steps * setup-job, bug report, gh cli and watch wait call is cancelled early
20 lines
302 B
Go
20 lines
302 B
Go
package main
|
|
|
|
import (
|
|
_ "embed"
|
|
|
|
"github.com/actions-oss/act-cli/cmd"
|
|
"github.com/actions-oss/act-cli/pkg/common"
|
|
)
|
|
|
|
//go:embed VERSION
|
|
var version string
|
|
|
|
func main() {
|
|
ctx, cancel := common.CreateGracefulJobCancellationContext()
|
|
defer cancel()
|
|
|
|
// run the command
|
|
cmd.Execute(ctx, version)
|
|
}
|