Skip to content

Mask PowerShell statement #25859

Answered by chrispat
VoidMonk asked this question in Actions
Discussion options

You must be logged in to vote

If the value is too long for an environment variable we are not going to be able to mask it.  My suggestion would be to read the value from the payload file on disk rather than using the context in this case.  You can find the path to the  payload file in the GITHUB_EVENT_PATH environment variable https://help.github.com/en/articles/virtual-environments-for-github-actions#default-environment-variables.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants