mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-09-15 18:57:01 +00:00
fix: missing defaults in nodejs pre (#1349)
* Update action.go * add Test Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
00a9889594
commit
6fd5a6c9ab
3 changed files with 26 additions and 0 deletions
|
@ -481,6 +481,8 @@ func runPreStep(step actionStep) common.Executor {
|
|||
|
||||
switch action.Runs.Using {
|
||||
case model.ActionRunsUsingNode12, model.ActionRunsUsingNode16:
|
||||
// defaults in pre steps were missing, however provided inputs are available
|
||||
populateEnvsFromInput(ctx, step.getEnv(), action, rc)
|
||||
// todo: refactor into step
|
||||
var actionDir string
|
||||
var actionPath string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue