Use already installed rustc if available [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2023-07-21 18:38:29 +09:00
parent 7fdf98ef39
commit 22f9735587
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -241,7 +241,11 @@ jobs:
- name: Install Rust
if: ${{ matrix.entry.rust }}
run: sudo apt-get update && sudo apt install -y rustc
run: |
command -v rustc ||
{
sudo apt-get update && sudo apt install -y rustc
}
- name: Run configure
run: >