Skip to content

Commit 495f5c0

Browse files
smk4664gsnider2195ubajze
authored
Install Virtualenv 20.30.0 if Poetry version is <2.0.0 (#15)
* Install Virtualenv 20.30.0 if Poetry version is <2.0.0 * Update action.yml * Update action.yml Co-authored-by: Gary Snider <[email protected]> * Update action.yml * Update action.yml --------- Co-authored-by: Gary Snider <[email protected]> Co-authored-by: Uros Bajzelj <[email protected]>
1 parent 3a787c3 commit 495f5c0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ runs:
4848
- name: "Add poetry to PATH"
4949
run: "ln -s /root/.local/bin/poetry /usr/local/bin/poetry"
5050
shell: "bash"
51+
- name: "Install Virtualenv compatible with Poetry 1.X"
52+
if: "startsWith(inputs.poetry-version, '1.')"
53+
run: "poetry self add [email protected]"
54+
shell: "bash"
5155
- name: "Log: Check cache"
5256
run: "echo Checking cache"
5357
shell: "bash"

0 commit comments

Comments
 (0)