publish-nuget
publish-nuget copied to clipboard
[BUG] env values ignored by steps.
Describe the bug A clear and concise description of what the bug is.
Failed Action Log URL (Required)
A URL to the failed action log.
Failed run, line shows with
INCLUDE_SYMBOLS: false
Same run, line shows env
INCLUDE_SYMBOLS: true
Same run, line shows dotnet build
with no --include-symbols
Same run, dotnet nuget push
has -n 1
instead of empty string for that last ternary operator
To Reproduce Steps to reproduce the behavior:
- Create a setup like the one above,.
- Set some variables in the job's
env
, and attempt to not use them in steps.
Expected Behavior
Variables set in env
to apply, instead they seem not to.
Environment:
- Platform: windows-latest
- Action Version: v2.5.5
I've taken a look at index.js
and it looks like everything should work, but I can't explain why my env output looks correct but the script doesn't seem to use the values in it!