From 91c44e6c92d32e1d2d0387134e7a27317c3ec83a Mon Sep 17 00:00:00 2001 From: Denis P Date: Mon, 28 Dec 2020 11:04:32 +0100 Subject: [PATCH] CI: proper syntax https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6a4c304..d9a0364 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,9 +79,9 @@ jobs: # FIXME: to work around bugs in latest cross release, install master. # See: https://github.com/rust-embedded/cross/issues/357 cargo install --git https://github.com/rust-embedded/cross - echo "cross" >> $CARGO - echo "--target ${{ matrix.target }}" >> $TARGET_FLAGS - echo "./target/${{ matrix.target }}" >> $TARGET_DIR + echo "CARGO=cross" >> $GITHUB_ENV + echo "TARGET_FLAGS=--target ${{ matrix.target }}" >> $GITHUB_ENV + echo "TARGET_DIR=./target/${{ matrix.target }}" >> $GITHUB_ENV - name: Show command used for Cargo run: |