Skip to content

Appending to GITHUB_PATH and GITHUB_ENV #3402

Closed Answered by dudicoco
dudicoco asked this question in Q&A
Discussion options

You must be logged in to vote

ended up with this

mise env | sed 's/^export//' | xargs -I {} echo "{}" >>"$GITHUB_ENV"

"$GITHUB_PATH" was not sufficient as the runner's PATH took precedence, so my venv bins (yamllint) were overriden with the runner's bins.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dudicoco
Comment options

@jdx
Comment options

jdx Dec 8, 2024
Maintainer

@dudicoco
Comment options

Answer selected by dudicoco
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