switch windows python back to defaults

master
Beq 2023-12-28 15:09:33 +00:00
parent b6d55cc43b
commit 5198af498a
1 changed files with 8 additions and 2 deletions

View File

@ -47,10 +47,16 @@ jobs:
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
id: py311 id: py311
with: with:
python-version: '3.11' python-version: '3.11.6'
cache: 'pip' cache: 'pip'
- name: Install python requirements - name: Install python requirements (windows only)
if: runner.os == 'Windows'
run: |
python3 -m pip install -r requirements.txt --user
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install python requirements (non-windows)
if: runner.os != 'Windows'
run: | run: |
python3 -m pip install -r requirements.txt python3 -m pip install -r requirements.txt
python -m pip install -r requirements.txt python -m pip install -r requirements.txt