default post-job action's condition to always(). (#293)

This commit is contained in:
Tingluo Huang
2020-01-20 09:28:29 -05:00
committed by GitHub
parent e9ae42693f
commit 7a382facb3
4 changed files with 139 additions and 2 deletions

View File

@@ -341,7 +341,7 @@ namespace GitHub.Runner.Worker
EntryPoint = entrypointToken?.Value,
Environment = envToken,
Cleanup = postEntrypointToken?.Value,
CleanupCondition = postIfToken?.Value
CleanupCondition = postIfToken?.Value ?? "always()"
};
}
}
@@ -357,7 +357,7 @@ namespace GitHub.Runner.Worker
{
Script = mainToken.Value,
Cleanup = postToken?.Value,
CleanupCondition = postIfToken?.Value
CleanupCondition = postIfToken?.Value ?? "always()"
};
}
}