Skip to content
This repository was archived by the owner on Oct 26, 2022. It is now read-only.

[BUG] env values ignored by steps. #57

@nitz

Description

@nitz

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:

  1. Create a setup like the one above,.
  2. 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!

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions