Try without sudo for installing pip deps

This commit is contained in:
Wilson Lin 2020-07-12 02:33:35 +10:00
parent 2b49d46d2d
commit 3adcdb994b
1 changed files with 4 additions and 4 deletions

View File

@ -55,11 +55,11 @@ jobs:
working-directory: ./python
run: cargo build --release
- name: Install Python build tools (macOS, Linux)
if: runner.os != 'Windows'
- name: Install Python build tools (macOS)
if: runner.os == 'macOS'
run: sudo pip install --upgrade maturin setuptools wheel twine
- name: Install Python build tools (Windows)
if: runner.os == 'Windows'
- name: Install Python build tools (Linux, Windows)
if: runner.os != 'macOS'
run: pip install --upgrade maturin setuptools wheel twine
- name: Pack and publish package