try passing arg to sh

This commit is contained in:
Stephen 2021-11-20 19:13:04 -08:00 committed by GitHub
parent c6524b273f
commit a008cb6bd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y curl build-essential libsqlite3-dev libssl-dev clang cmake ninja-build pkg-config libgtk-3-dev
- name: Rust
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -- -y
source $HOME/.cargo/env
rustup toolchain install nightly
rustup default nightly