Skip to content

Set pythonpath in Github Actions, running on Ubuntu. #25010

Answered by weide-zhou
dlesz asked this question in Actions
Discussion options

You must be logged in to vote

command: echo “::add-path::/path/to/dir” will pepend a directory to the system PATH variable for all subsequent actions in the current job. But look at your code, are you searching ‘set-env’?

echo "::set-env name=PYTHONPATH::home/runner/work/<repo_name>"

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
Answer selected
Comment options

You must be logged in to vote
0 replies
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
5 participants