From 774dc8aa526b8ae9ea6a1f00b89a4bf8445d3904 Mon Sep 17 00:00:00 2001 From: Jerome Forissier Date: Mon, 22 Jan 2024 14:10:12 +0100 Subject: [PATCH] ci: do not add $HOME/.cargo/bin to $PATH Since [1] there is no need to add $HOME/.cargo/bin to the user's PATH anymore. Therefore remove the corresponding lines from the CI scripts. Link: https://github.com/OP-TEE/build/commit/xxxx [1] Signed-off-by: Jerome Forissier Reviewed-by: Sumit Garg Acked-by: Jens Wiklander --- .github/workflows/ci.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd3e865f7d8..6eb3e0ac3b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -282,7 +282,6 @@ jobs: # make check task set -e -v export LC_ALL=C - export PATH=/github/home/.cargo/bin:$PATH export BR2_CCACHE_DIR=/github/home/.cache/ccache export CFG_TEE_CORE_LOG_LEVEL=0 export CFG_ATTESTATION_PTA=y @@ -320,7 +319,6 @@ jobs: # make check task set -e -v export LC_ALL=C - export PATH=/github/home/.cargo/bin:$PATH export CFG_TEE_CORE_LOG_LEVEL=0 export BR2_CCACHE_DIR=/github/home/.cache/ccache WD=$(pwd) @@ -354,7 +352,6 @@ jobs: # make check task set -e -v export LC_ALL=C - export PATH=/github/home/.cargo/bin:$PATH export CFG_TEE_CORE_LOG_LEVEL=0 export BR2_CCACHE_DIR=/github/home/.cache/ccache WD=$(pwd) @@ -388,7 +385,6 @@ jobs: export LC_ALL=C # The BTI-enabled toolchain is aarch64-unknown-linux-uclibc-gcc in /usr/local/bin export PATH=/usr/local/bin:$PATH - export PATH=/github/home/.cargo/bin:$PATH export AARCH64_CROSS_COMPILE=aarch64-unknown-linux-uclibc- export BR2_CCACHE_DIR=/github/home/.cache/ccache export CFG_TEE_CORE_LOG_LEVEL=0