File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : Simulation Bridge Tests
2
2
3
3
on :
4
- push :
5
4
pull_request :
6
5
7
6
jobs :
@@ -23,12 +22,19 @@ jobs:
23
22
24
23
- name : Install Poetry
25
24
run : |
26
- curl -sSL https://install.python-poetry.org | python3 -
27
- shell : bash
25
+ python -m pip install --upgrade pip
26
+ curl -sSL https://install.python-poetry.org | python -
27
+ env :
28
+ POETRY_HOME : ${{ runner.temp }}/poetry
28
29
29
30
- name : Add Poetry to PATH
30
- run : echo "$HOME/.local/bin" >> $GITHUB_PATH
31
- shell : bash
31
+ run : echo "${{ runner.temp }}/poetry/bin" >> $GITHUB_PATH
32
+ if : runner.os != 'Windows'
33
+
34
+ - name : Add Poetry to PATH on Windows
35
+ run : echo "${{ runner.temp }}\poetry\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8
36
+ if : runner.os == 'Windows'
37
+ shell : pwsh
32
38
33
39
- name : Install dependencies via Poetry
34
40
run : |
You can’t perform that action at this time.
0 commit comments