From 1ae7122c9f290ae6136580ad6cef9cacc7c4f189 Mon Sep 17 00:00:00 2001 From: Denis P Date: Mon, 28 Dec 2020 10:55:03 +0100 Subject: [PATCH] CI: fix set-env https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#environment-files --- .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 8617b72..6a4c304 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 "::set-env name=CARGO::cross" - echo "::set-env name=TARGET_FLAGS::--target ${{ matrix.target }}" - echo "::set-env name=TARGET_DIR::./target/${{ matrix.target }}" + echo "cross" >> $CARGO + echo "--target ${{ matrix.target }}" >> $TARGET_FLAGS + echo "./target/${{ matrix.target }}" >> $TARGET_DIR - name: Show command used for Cargo run: |