Files
act_runner/main.go
ChristopherHX cef5575fa4 feat: Support graceful job step cancellation (#69)
* 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
2025-03-29 12:27:36 +01:00

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)
}