Fix path for local node12 actions (#371)

Fixes #185

Signed-off-by: Javier Romero <root@jromero.codes>
This commit is contained in:
Javier Romero
2020-09-29 15:39:45 -05:00
committed by GitHub
parent 32c41d22d6
commit 729adec5e5
15 changed files with 6206 additions and 10 deletions

View File

@@ -352,11 +352,11 @@ func (rc *RunContext) getGithubContext() *githubContext {
token = os.Getenv("GITHUB_TOKEN")
}
runID := rc.Config.Env["GITHUB_RUN_ID"]
if(runID == ""){
if runID == "" {
runID = "1"
}
runNumber := rc.Config.Env["GITHUB_RUN_NUMBER"]
if(runNumber == ""){
if runNumber == "" {
runNumber = "1"
}
ghc := &githubContext{