What I am doing wrong here? #26314
Answered
by
airtower-luna
initeshjain
asked this question in
Actions
-
CODE:
I am getting a bad substitution error, please help me. Is there anything wrong with this code? background: |
Beta Was this translation helpful? Give feedback.
Answered by
airtower-luna
Jun 6, 2022
Replies: 2 comments
-
There are two problems here:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected
-
Thanks for the solution. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are two problems here:
GITHUB_ENV
and use it in the same run step. That doesn’t work, writing toGITHUB_ENV
affects following steps within the job.${env:artifactname}
isn’t valid Unix shell syntax. If you want to use theartifactname
environment variable, the correct code is${artifactname}
.