Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions setup-poetry/action.yml
Comment thread
bkeryan marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ runs:
- name: Set paths (Linux/Mac)
if: runner.os != 'Windows'
run: |
echo "POETRY_BIN_DIR=$HOME/.local/poetry/bin" >> "$GITHUB_ENV"
echo "POETRY_HOME=$HOME/.local/poetry/home" >> "$GITHUB_ENV"
echo "POETRY_HOME_BIN=$HOME/.local/poetry/home/bin" >> "$GITHUB_ENV"
echo "$HOME/.local/poetry/bin" >> "$GITHUB_PATH"
echo "POETRY_BIN_DIR=$RUNNER_TEMP/poetry/bin" >> "$GITHUB_ENV"
Comment thread
bkeryan marked this conversation as resolved.
Outdated
echo "POETRY_HOME=$RUNNER_TEMP/poetry/home" >> "$GITHUB_ENV"
echo "POETRY_HOME_BIN=$RUNNER_TEMP/poetry/home/bin" >> "$GITHUB_ENV"
echo "$RUNNER_TEMP/poetry/bin" >> "$GITHUB_PATH"
shell: bash
- name: Set paths (Windows)
if: runner.os == 'Windows'
run: |
Add-Content $env:GITHUB_ENV "POETRY_BIN_DIR=$HOME\.local\poetry\bin"
Add-Content $env:GITHUB_ENV "POETRY_HOME=$HOME\.local\poetry\home"
Add-Content $env:GITHUB_ENV "POETRY_HOME_BIN=$HOME\.local\poetry\home\Scripts"
Add-Content $env:GITHUB_PATH "$HOME\.local\poetry\bin"
Add-Content $env:GITHUB_ENV "POETRY_BIN_DIR=$env:RUNNER_TEMP\poetry\bin"
Add-Content $env:GITHUB_ENV "POETRY_HOME=$env:RUNNER_TEMP\poetry\home"
Add-Content $env:GITHUB_ENV "POETRY_HOME_BIN=$env:RUNNER_TEMP\poetry\home\Scripts"
Add-Content $env:GITHUB_PATH "$env:RUNNER_TEMP\poetry\bin"
Comment thread
szb640 marked this conversation as resolved.
Outdated
shell: pwsh
- name: Copy paths from $GITHUB_ENV to $GITHUB_OUTPUT
id: copy-paths
Expand Down
Loading