From 614e5b0e862f719abe1d4b4f706fd29e0d5b3ac9 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Thu, 16 Jul 2020 16:36:19 +0200 Subject: [PATCH] Install rustup components after checking out the repo so that the components are installed for the nightly toolchain. --- .github/workflows/build-code.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-code.yml b/.github/workflows/build-code.yml index 9ffffdaaf..5dad5ee21 100644 --- a/.github/workflows/build-code.yml +++ b/.github/workflows/build-code.yml @@ -49,11 +49,11 @@ jobs: with: profile: minimal toolchain: nightly - - name: "Install Rustup Components" - run: rustup component add rust-src llvm-tools-preview - name: "Install bootimage" run: cargo install bootimage --debug --git https://github.com/rust-osdev/bootimage.git --branch Zbuild-std - uses: actions/checkout@v2 + - name: "Install Rustup Components" + run: rustup component add rust-src llvm-tools-preview - uses: actions-rs/cargo@v1 with: command: bootimage