Skip to content

Pass environment variables from step description into a shell step #4

Answered by Vampire
vadimkantorov asked this question in Q&A
Discussion options

You must be logged in to vote

Regarding your questions here also a little demo workflow run: https://github.com/Vampire/setup-wsl/runs/1469130942?check_suite_focus=true

Regarding the directories, I verified that you are in the exact directory within WSL where you are outside, so setting the working-directory input works as expected.

Maybe you misinterpret that Windows environment and WSL environment are two completely separate things.
The user home directory on Windows is the home directory of the Windows user, which is usually found at c:\Users\<user>\ and thus mounted in WSL at /mnt/c/Users/<user>/.
The directory /home/foo in WSL is usually the home directory of the user foo wihin the Linux distribution which is com…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Vampire
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
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4 on December 10, 2020 15:07.