From 45af9e614bf3d795396b4f6d03b9f3178b209115 Mon Sep 17 00:00:00 2001 From: Peter Squicciarini Date: Mon, 5 Oct 2020 21:30:07 -0700 Subject: [PATCH] (experiment) skip GH action env writes in Windows --- get_repo.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/get_repo.sh b/get_repo.sh index 9883aac..fc45f2d 100755 --- a/get_repo.sh +++ b/get_repo.sh @@ -8,6 +8,9 @@ echo "Got the latest MS tag: ${LATEST_MS_TAG}" git clone https://github.com/Microsoft/vscode.git --branch $LATEST_MS_TAG --depth 1 -echo "LATEST_MS_COMMIT=$LATEST_MS_COMMIT" >> $GITHUB_ENV -echo "LATEST_MS_TAG=$LATEST_MS_TAG" >> $GITHUB_ENV +# for GH actions +if [[ "$CI_WINDOWS" != "True" ]]; then + echo "LATEST_MS_COMMIT=$LATEST_MS_COMMIT" >> $GITHUB_ENV + echo "LATEST_MS_TAG=$LATEST_MS_TAG" >> $GITHUB_ENV +fi