Skip to content

Commit

Permalink
extract tpgb into go path
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottSuarez committed Nov 3, 2023
1 parent 360a642 commit ffe5c66
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/unit-test-tgc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,16 @@ jobs:
- name: Unzip the artifacts and delete the zip
run: |
unzip artifacts-tgc/output.zip -d ./tgc
unzip artifacts-tpgb/output.zip -d ~/go/src/github.com/hashicorp/terraform-provider-google-beta/google-beta
mkdir -p ~/go/src/github.com/hashicorp/terraform-provider-google-beta
unzip artifacts-tpgb/output.zip -d ~/go/src/github.com/hashicorp/terraform-provider-google-beta
rm artifacts-tgc/output.zip
rm artifacts-tpgb/output.zip
- name: Build Terraform Google Conversion
run: |
export GOPATH=~/go
cd tgc
go mod edit -replace=github.com/hashicorp/terraform-provider-google-beta=$GOPATH/src/github.com/hashicorp/terraform-provider-google-beta/google-beta
go mod edit -replace=github.com/hashicorp/terraform-provider-google-beta=$GOPATH/src/github.com/hashicorp/terraform-provider-google-beta
go mod tidy
make build
Expand Down

0 comments on commit ffe5c66

Please sign in to comment.