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
6
.github/workflows/build-rust.yml
vendored
6
.github/workflows/build-rust.yml
vendored
|
|
@ -1,7 +1,7 @@
|
|||
name: Rust Build
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
|
|
@ -48,7 +48,9 @@ jobs:
|
|||
- name: Install Packages
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
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
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue