File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -62,13 +62,22 @@ jobs:
62
62
with :
63
63
name : Dependencies Updates
64
64
path : dependencyUpdates.txt
65
- # - name: Test
66
- # run: go test -timeout 0 github.com/mcasperson/OctopusTerraformExport/cmd
67
- # shell: bash
68
- # env:
69
- # LICENSE: ${{ secrets.LICENSE }}
70
- # ECR_ACCESS_KEY: ${{ secrets.ECR_ACCESS_KEY }}
71
- # ECR_SECRET_KEY: ${{ secrets.ECR_SECRET_KEY }}
65
+ - name : Clone the Terraform provider source
66
+ run : git clone https://github.com/OctopusDeployLabs/terraform-provider-octopusdeploy.git
67
+ shell : bash
68
+ - name : Build the Terraform provider from source
69
+ run : go build -o terraform-provider-octopusdeploy
70
+ working-directory : terraform-provider-octopusdeploy
71
+ - name : Override the location used by Terraform provider
72
+ run : |-
73
+ cat <<EOT >> ~/.terraformrc
74
+ provider_installation {
75
+ dev_overrides {
76
+ "octopusdeploylabs/octopusdeploy" = "${{ github.workspace }}/terraform-provider-octopusdeploy"
77
+ }
78
+ direct {}
79
+ }
80
+ EOT
72
81
- name : Test
73
82
run : go install gotest.tools/gotestsum@latest; gotestsum --junitfile results.xml -- -v -timeout 0 -json ./...
74
83
shell : bash
You can’t perform that action at this time.
0 commit comments