* feat: Support graceful job step cancellation * for gh-act-runner * act-cli support as well * respecting always() and cancelled() of steps * change main * cancel startContainer / gh cli / bugreport early * add to watch as well --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
20 lines
284 B
Go
20 lines
284 B
Go
package main
|
|
|
|
import (
|
|
_ "embed"
|
|
|
|
"github.com/nektos/act/cmd"
|
|
"github.com/nektos/act/pkg/common"
|
|
)
|
|
|
|
//go:embed VERSION
|
|
var version string
|
|
|
|
func main() {
|
|
ctx, cancel := common.CreateGracefulJobCancellationContext()
|
|
defer cancel()
|
|
|
|
// run the command
|
|
cmd.Execute(ctx, version)
|
|
}
|