Run apt-get update in CI
This fixes a build failure caused by an outdated package cache.
This commit is contained in:
parent
727798a7da
commit
cdea9eba8c
1 changed files with 4 additions and 2 deletions
4
.github/workflows/build-rust.yml
vendored
4
.github/workflows/build-rust.yml
vendored
|
|
@ -48,7 +48,9 @@ jobs:
|
||||||
- name: Install Packages
|
- name: Install Packages
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: sudo apt-get install -y ${{ join(matrix.packages, ' ') }}
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y ${{ join(matrix.packages, ' ') }}
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue