Update build.yml

This commit is contained in:
Jay Lee
2022-12-02 09:48:53 -05:00
committed by GitHub
parent 729edb65be
commit 5bcdca4fcc

View File

@@ -153,7 +153,7 @@ jobs:
if: runner.os == 'macOS' if: runner.os == 'macOS'
run: | run: |
# Install latest Rust # Install latest Rust
curl --retry 5 -fsS -o rust.sh https://sh.rustup.rs curl --retry 5 --retry-all-errors -fsS -o rust.sh https://sh.rustup.rs
bash ./rust.sh -y bash ./rust.sh -y
source $HOME/.cargo/env source $HOME/.cargo/env
# needed for Rust to compile cryptography Python package for universal2 # needed for Rust to compile cryptography Python package for universal2
@@ -406,7 +406,7 @@ jobs:
- name: Upgrade pip, wheel, etc - name: Upgrade pip, wheel, etc
run: | run: |
curl --retry 5 -O https://bootstrap.pypa.io/get-pip.py curl --retry 5 --retry-all-errors -O https://bootstrap.pypa.io/get-pip.py
"${PYTHON}" get-pip.py "${PYTHON}" get-pip.py
"${PYTHON}" -m pip install --upgrade pip "${PYTHON}" -m pip install --upgrade pip
"${PYTHON}" -m pip install --upgrade wheel "${PYTHON}" -m pip install --upgrade wheel