Skip to content

Commit

Permalink
Simplify path separator calculation
Browse files Browse the repository at this point in the history
Co-authored-by: Nikita Stupin <[email protected]>
  • Loading branch information
Privat33r-dev and nikitastupin authored Aug 10, 2024
1 parent 28aba24 commit 0835f78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/poetry-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ runs:
- name: Setup Pipx Local Variables
id: pipx-env-setup
run: |
SEP="${{ !startsWith(runner.os, 'windows') && '/' || '\\' }}"
SEP="${{ startsWith(runner.os, 'windows-') && '\\' || '/' }}"
PIPX_CACHE="${{ github.workspace }}${SEP}pipx_cache"
echo "pipx-cache-path=${PIPX_CACHE}" >> $GITHUB_OUTPUT
echo "pipx-version=$(pipx --version)" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 0835f78

Please sign in to comment.