mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-03-22 06:45:03 +01:00
update import path
This commit is contained in:
1
internal/app/act-cli/VERSION
Normal file
1
internal/app/act-cli/VERSION
Normal file
@@ -0,0 +1 @@
|
||||
0.4.0
|
||||
19
internal/app/act-cli/main.go
Normal file
19
internal/app/act-cli/main.go
Normal file
@@ -0,0 +1,19 @@
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user