From 6c75e274b18badce902316f0d7ae6d5996dc17f8 Mon Sep 17 00:00:00 2001 From: BBBmau Date: Mon, 11 Mar 2024 14:27:17 -0700 Subject: [PATCH] remove artifacts and extra setup go --- .github/actions/build-downstream/action.yml | 8 +---- .../teamcity-services-diff-check-weekly.yml | 30 ------------------- 2 files changed, 1 insertion(+), 37 deletions(-) diff --git a/.github/actions/build-downstream/action.yml b/.github/actions/build-downstream/action.yml index 6d68ece4a9c5..2ae9db0fc8a4 100644 --- a/.github/actions/build-downstream/action.yml +++ b/.github/actions/build-downstream/action.yml @@ -101,10 +101,4 @@ runs: exit 1 fi - (current_dir=$(pwd) && cd $OUTPUT_PATH && zip -r "$current_dir/output.zip" .) - - - name: Upload built artifacts - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0 - with: - name: artifact-${{ inputs.repo }} - path: output.zip \ No newline at end of file + (current_dir=$(pwd) && cd $OUTPUT_PATH && zip -r "$current_dir/output.zip" .) \ No newline at end of file diff --git a/.github/workflows/teamcity-services-diff-check-weekly.yml b/.github/workflows/teamcity-services-diff-check-weekly.yml index 1628a9d584d8..b63a9cd99876 100644 --- a/.github/workflows/teamcity-services-diff-check-weekly.yml +++ b/.github/workflows/teamcity-services-diff-check-weekly.yml @@ -21,43 +21,13 @@ jobs: with: repo: 'terraform-provider-google' token: '$GITHUB_TOKEN' - - name: TeamCity Google Beta Provider Generate uses: ./.github/actions/build-downstream with: repo: 'terraform-provider-google-beta' token: '$GITHUB_TOKEN' - - name: Checkout Repository uses: actions/checkout@v4 - - - name: Setup Go - uses: actions/setup-go@v4 - with: - go-version: '^1.20' - - - name: Download built artifacts - GA provider - uses: actions/download-artifact@v2 - with: - name: artifact-terraform-provider-google - path: artifacts - - - name: Unzip the artifacts and delete the zip - run: | - unzip -o artifacts/output.zip -d ./provider - rm artifacts/output.zip - - - name: Download built artifacts - Beta provider - uses: actions/download-artifact@v2 - with: - name: artifact-terraform-provider-google-beta - path: artifacts - - - name: Unzip the artifacts and delete the zip - run: | - unzip -o artifacts/output.zip -d ./provider - rm artifacts/output.zip - - name: Check that new services have been added to the TeamCity configuration code run: | # Create lists of service packages in providers