diff --git a/.github/workflows/weekly-canary-build.yml b/.github/workflows/weekly-canary-build.yml index 0e8d9c82..76b21ea4 100644 --- a/.github/workflows/weekly-canary-build.yml +++ b/.github/workflows/weekly-canary-build.yml @@ -20,16 +20,13 @@ jobs: with: tool: mdslides@0.3,mdbook@0.4,mdbook-mermaid@0.12,flip-link@0.1.10 - - name: Install targets - run: | - rustup target add thumbv7em-none-eabihf - rustup component add rust-src - rustup component add rustfmt - - - name: Update and set default Rust + - name: Install targets, update, set default Rust run: | rustup update ${{ matrix.rust-channel }} rustup default ${{ matrix.rust-channel }} + rustup component add rust-src + rustup component add rustfmt + rustup target add thumbv7em-none-eabihf - name: Find slug name run: | @@ -41,4 +38,4 @@ jobs: env: # Or as an environment variable HIDDEN_MESSAGE: ${{ secrets.HIDDEN_MESSAGE }} run: | - ./build.sh "./rust-exercises-${{ env.slug }}" \ No newline at end of file + ./build.sh "./rust-exercises-${{ env.slug }}"