From e60f7603f86cc262de513e2306f658a2fef62b24 Mon Sep 17 00:00:00 2001 From: GeorgianaElena Date: Mon, 5 Apr 2021 15:47:03 +0300 Subject: [PATCH] Print some env vars and try using github ref instead of sha --- .github/workflows/integration-test.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-test.yaml b/.github/workflows/integration-test.yaml index b483c5a..badbf16 100644 --- a/.github/workflows/integration-test.yaml +++ b/.github/workflows/integration-test.yaml @@ -11,10 +11,17 @@ jobs: - uses: actions/setup-python@v2 with: python-version: 3.6 + - name: Checkout some env vars + run: | + echo $GITHUB_ACTOR + echo $GITHUB_SHA + echo $GITHUB_REPOSITORY + echo $GITHUB_REF + echo $GITHUB_HEAD_REF + echo $GITHUB_BASE_REF - name: Set BOOTSTRAP_PIP_SPEC value run: | - echo "BOOTSTRAP_PIP_SPEC=git+https://github.com/$GITHUB_REPOSITORY.git@$GITHUB_SHA" >> $GITHUB_ENV - echo $BOOTSTRAP_PIP_SPEC + echo "BOOTSTRAP_PIP_SPEC=git+https://github.com/$GITHUB_REPOSITORY.git@$GITHUB_REF" >> $GITHUB_ENV - name: Build systemd image run: | .github/integration-test.py build-image