Skip to content

Commit

Permalink
remove artifacts and extra setup go
Browse files Browse the repository at this point in the history
  • Loading branch information
BBBmau committed Mar 11, 2024
1 parent 15144d1 commit 6c75e27
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 37 deletions.
8 changes: 1 addition & 7 deletions .github/actions/build-downstream/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
(current_dir=$(pwd) && cd $OUTPUT_PATH && zip -r "$current_dir/output.zip" .)
30 changes: 0 additions & 30 deletions .github/workflows/teamcity-services-diff-check-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c75e27

Please sign in to comment.