From 22eb75fbe04ff33393ccbf79244bf521c2f0c6bb Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 1 May 2024 09:09:04 -0700 Subject: [PATCH] Add description for CARGO_HOME step --- action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index b2b70d1..9fb35f3 100644 --- a/action.yml +++ b/action.yml @@ -68,7 +68,9 @@ runs: if: runner.os != 'Windows' shell: bash - - run: echo CARGO_HOME=${CARGO_HOME:-${{runner.os == 'Windows' && '$USERPROFILE' || '$HOME'}}/.cargo} >> $GITHUB_ENV + - run: | + : set $CARGO_HOME + echo CARGO_HOME=${CARGO_HOME:-${{runner.os == 'Windows' && '$USERPROFILE' || '$HOME'}}/.cargo} >> $GITHUB_ENV shell: bash - name: rustup toolchain install ${{steps.parse.outputs.toolchain}}