Issue: Environment variables are merged in wrong order #777
Labels
kind/bug
Something isn't working
meta/resolved
Issue has been fixed or valid solution has been provided (not workaround)
Milestone
System information
Expected behaviour
Environment variable defined locally in the Step should override the ones defined in Previous Steps.
Actual behaviour
Environment variable defined locally in the Step are ignored when collide with the ones defined in Previous Steps.
Think the incorrect merging happens here
Workflow and/or repository
Here
actions/setup-node
exportsNODE_AUTH_TOKEN
set toXXXX-XXXX-XXXX-XXXX
.See the code here
The Next Step has same locally defined variable, set to
secrets.NPM_TOKEN
.Steps to reproduce
.secrets
file withNPM_TOKEN=<any string>
.act
XXXX-XXXX-XXXX-XXXX
instead of<any_string>
printed in the logact
outputLog
The text was updated successfully, but these errors were encountered: