Make the workaround Windows specific to stop upsetting Mac
parent
ffd9091970
commit
e7246ea176
|
|
@ -36,10 +36,16 @@ jobs:
|
|||
with:
|
||||
python-version: '3.11'
|
||||
cache: 'pip'
|
||||
- run: |
|
||||
|
||||
- if: runner.os == 'Windows'
|
||||
run: |
|
||||
python3 -m pip install -r requirements.txt --user
|
||||
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||
|
||||
- if: runner.os != 'Windows'
|
||||
run: |
|
||||
python3 -m pip install -r requirements.txt
|
||||
|
||||
- name: Check python version
|
||||
run: python -V
|
||||
- name: Check python3 version
|
||||
|
|
|
|||
Loading…
Reference in New Issue