File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -27,18 +27,18 @@ runs:
2727 - name : Set paths (Linux/Mac)
2828 if : runner.os != 'Windows'
2929 run : |
30- echo "POETRY_BIN_DIR=$HOME/.local /poetry/bin" >> "$GITHUB_ENV"
31- echo "POETRY_HOME=$HOME/.local /poetry/home" >> "$GITHUB_ENV"
32- echo "POETRY_HOME_BIN=$HOME/.local /poetry/home/bin" >> "$GITHUB_ENV"
33- echo "$HOME/.local /poetry/bin" >> "$GITHUB_PATH"
30+ echo "POETRY_BIN_DIR=$RUNNER_TEMP /poetry/bin" >> "$GITHUB_ENV"
31+ echo "POETRY_HOME=$RUNNER_TEMP /poetry/home" >> "$GITHUB_ENV"
32+ echo "POETRY_HOME_BIN=$RUNNER_TEMP /poetry/home/bin" >> "$GITHUB_ENV"
33+ echo "$RUNNER_TEMP /poetry/bin" >> "$GITHUB_PATH"
3434 shell : bash
3535 - name : Set paths (Windows)
3636 if : runner.os == 'Windows'
3737 run : |
38- Add-Content $env:GITHUB_ENV "POETRY_BIN_DIR=$HOME\.local \poetry\bin"
39- Add-Content $env:GITHUB_ENV "POETRY_HOME=$HOME\.local \poetry\home"
40- Add-Content $env:GITHUB_ENV "POETRY_HOME_BIN=$HOME\.local \poetry\home\Scripts"
41- Add-Content $env:GITHUB_PATH "$HOME\.local \poetry\bin"
38+ Add-Content $env:GITHUB_ENV "POETRY_BIN_DIR=$env:RUNNER_TEMP \poetry\bin"
39+ Add-Content $env:GITHUB_ENV "POETRY_HOME=$env:RUNNER_TEMP \poetry\home"
40+ Add-Content $env:GITHUB_ENV "POETRY_HOME_BIN=$env:RUNNER_TEMP \poetry\home\Scripts"
41+ Add-Content $env:GITHUB_PATH "$env:RUNNER_TEMP \poetry\bin"
4242 shell : pwsh
4343 - name : Copy paths from $GITHUB_ENV to $GITHUB_OUTPUT
4444 id : copy-paths
You can’t perform that action at this time.
0 commit comments