From 477856c1e369c54c717063554b30e44b5396c89c Mon Sep 17 00:00:00 2001 From: Jeremi Piotrowski Date: Mon, 3 Jul 2023 17:04:27 +0200 Subject: [PATCH] gha: dragonball: Correctly propagate PATH update cargo/rust is installed in one step, we need to write the PATH update to GITHUBENV so that it becomes visible in the next steps. Fixes: #7221 Signed-off-by: Jeremi Piotrowski --- .github/workflows/static-checks-dragonball.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/static-checks-dragonball.yaml b/.github/workflows/static-checks-dragonball.yaml index 9c8ae694bf..61e3fe2c49 100644 --- a/.github/workflows/static-checks-dragonball.yaml +++ b/.github/workflows/static-checks-dragonball.yaml @@ -23,7 +23,7 @@ jobs: if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }} run: | ./ci/install_rust.sh - PATH=$PATH:"$HOME/.cargo/bin" + echo PATH="$HOME/.cargo/bin:$PATH" >> $GITHUB_ENV - name: Run Unit Test if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }} run: |