Skip to content

Commit

Permalink
remove artifacts in diff-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BBBmau committed Mar 11, 2024
1 parent 6c75e27 commit d6dedaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 37 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/teamcity-services-diff-check-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: TeamCity Google Provider Generate
uses: ./.github/actions/build-downstream
with:
Expand All @@ -26,8 +28,6 @@ jobs:
with:
repo: 'terraform-provider-google-beta'
token: '$GITHUB_TOKEN'
- name: Checkout Repository
uses: actions/checkout@v4
- name: Check that new services have been added to the TeamCity configuration code
run: |
# Create lists of service packages in providers
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/teamcity-services-diff-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,50 +33,15 @@ jobs:
with:
repo: 'terraform-provider-google'
token: '$GITHUB_TOKEN'

- name: TeamCity Google Beta Provider Generate
if: steps.generate.outcome == 'success'
uses: ./.github/actions/build-downstream
with:
repo: 'terraform-provider-google-beta'
token: '$GITHUB_TOKEN'

- name: Checkout Repository
if: steps.generate.outcome == 'success'
uses: actions/checkout@v4

- name: Setup Go
if: steps.generate.outcome == 'success'
uses: actions/setup-go@v4
with:
go-version: '^1.20'

- name: Download built artifacts - GA provider
if: steps.generate.outcome == 'success'
uses: actions/download-artifact@v2
with:
name: artifact-terraform-provider-google
path: artifacts

- name: Unzip the artifacts and delete the zip
if: steps.generate.outcome == 'success'
run: |
unzip -o artifacts/output.zip -d ./provider
rm artifacts/output.zip
- name: Download built artifacts - Beta provider
if: steps.generate.outcome == 'success'
uses: actions/download-artifact@v2
with:
name: artifact-terraform-provider-google-beta
path: artifacts

- name: Unzip the artifacts and delete the zip
if: steps.generate.outcome == 'success'
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
if: steps.generate.outcome == 'success'
run: |
Expand Down

0 comments on commit d6dedaf

Please sign in to comment.