Issues adding path in windows #5107
-
Hi there, I am facing issues with a ci job that depends on wc3270, a software that can be installed with chocolatey. For the job to pass, I need to add the wc3270 installation folder to path. After some research, I came across this reference: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#environment-files You can find my ci config here: https://github.com/robinmatz/Robot-Framework-Mainframe-3270-Library/blob/d68170fbe318062062cbe98d4ea2aa502c447caf/.github/workflows/run-tests.yml As you can see, I install wc3270 with The output says: Later in the script, I try to append this folder to the path by running Verifying the installation with
I would be very happy, if you could help me identify the error. For convenience, I also attached the .yml below:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
PATH is not updated in context of a single script, which on GitHub is single step in a workflow. If you run |
Beta Was this translation helpful? Give feedback.
PATH is not updated in context of a single script, which on GitHub is single step in a workflow. If you run
echo (get-command wc3270.exe).Path
in new step, it should work