From 30c5b514148e968c378883c31bd6ec6d5ecf27f3 Mon Sep 17 00:00:00 2001 From: Simon Li Date: Sun, 20 Feb 2022 19:14:05 +0000 Subject: [PATCH] github workflow: echo $BOOTSTRAP_PIP_SPEC `$GITHUB_ENV` has no effect until the next step --- .github/workflows/integration-test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration-test.yaml b/.github/workflows/integration-test.yaml index 6babbc1..50d2fd3 100644 --- a/.github/workflows/integration-test.yaml +++ b/.github/workflows/integration-test.yaml @@ -148,7 +148,8 @@ jobs: # GitHub branch for example. - name: Set BOOTSTRAP_PIP_SPEC value run: | - echo "BOOTSTRAP_PIP_SPEC=git+https://github.com/$GITHUB_REPOSITORY.git@$GITHUB_REF" >> $GITHUB_ENV + BOOTSTRAP_PIP_SPEC="git+https://github.com/$GITHUB_REPOSITORY.git@$GITHUB_REF" + echo "BOOTSTRAP_PIP_SPEC=$BOOTSTRAP_PIP_SPEC" >> $GITHUB_ENV echo $BOOTSTRAP_PIP_SPEC - name: Run basic tests (Runs in ubuntu:${{ matrix.ubuntu_version }} derived image)