Skip to content

Commit

Permalink
Use runner temp
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Apr 4, 2024
1 parent dea09a7 commit 0f7cd42
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,17 @@ runs:
python -V
which python
echo "creating venv"
python -m venv "venv"
python -m venv "$RUNNER_TEMP/venv"
echo "venv created"
ls -lah "venv"
ls -lah "venv/Scripts"
ls -lah "$RUNNER_TEMP/venv"
ls -lah "$RUNNER_TEMP/venv/Scripts"
echo "$GITHUB_PATH"
cat "$GITHUB_PATH"
echo "venv/bin" >> "$GITHUB_PATH"
echo "venv/Scripts" >> "$GITHUB_PATH"
echo "$RUNNER_TEMP/venv/bin" >> "$GITHUB_PATH"
echo "$RUNNER_TEMP/venv/Scripts" >> "$GITHUB_PATH"
cat "$GITHUB_PATH"
echo "$PATH"
export PATH="venv/bin:venv/Scripts:$PATH"
export PATH="$RUNNER_TEMP/venv/bin:$RUNNER_TEMP/venv/Scripts:$PATH"
echo "$PATH"
which python
Expand Down

0 comments on commit 0f7cd42

Please sign in to comment.