From 3d464c4736fd19bff9e6b108ad05737c346b0f2f Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Fri, 15 Sep 2023 14:54:55 -0400 Subject: [PATCH] apt update before install in workflow --- .github/workflows/no-std.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/no-std.yml b/.github/workflows/no-std.yml index e8223273..b9a145cd 100644 --- a/.github/workflows/no-std.yml +++ b/.github/workflows/no-std.yml @@ -31,7 +31,7 @@ jobs: github-token: ${{ inputs.github-token }} - name: Install RISC-V Toolchain - run: sudo apt install -y gcc-riscv64-unknown-elf gcc-multilib + run: sudo apt update && sudo apt install -y gcc-riscv64-unknown-elf gcc-multilib - name: Verify no-std builds run: cd tests/no-std && CFLAGS=-I/usr/include cargo build --target riscv32imac-unknown-none-elf