From 635677d07c5e723cf3119b674d8a7cb245d6cff0 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Fri, 17 Jul 2020 11:38:30 +0200 Subject: [PATCH] Fix workflow syntax --- .github/workflows/build-code.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-code.yml b/.github/workflows/build-code.yml index 219ffd97..ae1c40c5 100644 --- a/.github/workflows/build-code.yml +++ b/.github/workflows/build-code.yml @@ -57,17 +57,17 @@ jobs: run: cargo install bootimage --debug - name: Checkout Repository uses: actions/checkout@v2 - - name: "Add thumbv7em-none-eabihf Target" - run: rustup target add thumbv7em-none-eabihf - - name: "Build for thumbv7em-none-eabihf" + - name: Add thumbv7em-none-eabihf Target + run: rustup target add thumbv7em-none-eabihf + - name: Build for thumbv7em-none-eabihf run: cargo build --target thumbv7em-none-eabihf - - name: "Build for Linux" + - name: Build for Linux if: runner.os == 'Linux' run: cargo rustc -- -C link-arg=-nostartfiles - - name: "Build for macOS" + - name: Build for macOS if: runner.os == 'macOS' run: cargo rustc -- -C link-args="-e __start -static -nostartfiles" - - name: "Build for Windows" + - name: Build for Windows if: runner.os == 'Windows' run: cargo rustc -- -C link-args="/ENTRY:_start /SUBSYSTEM:console"