From e38beccec519e35ca564c31c0a212ed1f80680ac Mon Sep 17 00:00:00 2001 From: BBBmau Date: Mon, 11 Mar 2024 16:15:50 -0700 Subject: [PATCH] outputpath test --- .github/actions/build-downstream/action.yml | 1 + .github/workflows/teamcity-services-diff-check-weekly.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/actions/build-downstream/action.yml b/.github/actions/build-downstream/action.yml index 2ae9db0fc8a4..366ad9a96aed 100644 --- a/.github/actions/build-downstream/action.yml +++ b/.github/actions/build-downstream/action.yml @@ -65,6 +65,7 @@ runs: function clone_repo() { export OUTPUT_PATH=$GOPATH/src/github.com/$UPSTREAM_OWNER/$GH_REPO + echo $OUTPUT_PATH >> $GITHUB_ENV GITHUB_PATH=https://x-access-token:$GITHUB_TOKEN@github.com/$UPSTREAM_OWNER/$GH_REPO mkdir -p "$(dirname $OUTPUT_PATH)" git clone $GITHUB_PATH $OUTPUT_PATH --branch $BASE_BRANCH diff --git a/.github/workflows/teamcity-services-diff-check-weekly.yml b/.github/workflows/teamcity-services-diff-check-weekly.yml index ecce07a388ee..7da8b330ea3f 100644 --- a/.github/workflows/teamcity-services-diff-check-weekly.yml +++ b/.github/workflows/teamcity-services-diff-check-weekly.yml @@ -23,13 +23,13 @@ jobs: with: repo: 'terraform-provider-google' token: '$GITHUB_TOKEN' - - run: export GOOGLE_REPO_PATH=$OUTPUT_PATH + - run: export GOOGLE_REPO_PATH=${{ env.OUTPUT_PATH}} - name: TeamCity Google Beta Provider Generate uses: ./.github/actions/build-downstream with: repo: 'terraform-provider-google-beta' token: '$GITHUB_TOKEN' - - run: export GOOGLE_BETA_REPO_PATH=$OUTPUT_PATH + - run: export GOOGLE_BETA_REPO_PATH=${{ env.OUTPUT_PATH}} - name: Check that new services have been added to the TeamCity configuration code run: | # Create lists of service packages in providers