diff --git a/.github/actions/acc_test/action.yaml b/.github/actions/acc_test/action.yaml index 81cb4b9c..3016292d 100644 --- a/.github/actions/acc_test/action.yaml +++ b/.github/actions/acc_test/action.yaml @@ -69,7 +69,7 @@ runs: - name: Prepare pkg_gen directory shell: bash run: | - go run cmd/main.go build -p + go run generator/main.go build -p - name: Run acceptance test file if: ${{ inputs.test_file != '' }} diff --git a/.github/actions/build/action.yaml b/.github/actions/build/action.yaml index f9b243e7..696ac18e 100644 --- a/.github/actions/build/action.yaml +++ b/.github/actions/build/action.yaml @@ -51,7 +51,7 @@ runs: shell: bash run: | set -e - go run cmd/main.go build + go run generator/main.go build - name: Run make to build app shell: bash diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index deb27944..55d310e9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -61,7 +61,7 @@ jobs: - name: Run build pkg directory run: | - go run cmd/main.go build + go run generator/main.go build - name: Set up s3cfg run: | @@ -96,7 +96,7 @@ jobs: - name: Prepare provider directory structure run: | VERSION=$(jq -r .version < dist/metadata.json) - go run cmd/main.go \ + go run generator/main.go \ publish \ --namespace=mhenselin \ --providerName=stackitprivatepreview \ diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 2a80d81a..5774637d 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -70,7 +70,7 @@ jobs: set -e mkdir -p generated/services mkdir -p generated/internal/services - go run cmd/main.go build + go run generator/main.go build - name: Set up s3cfg run: | @@ -116,7 +116,7 @@ jobs: - name: Prepare provider directory structure run: | VERSION=$(jq -r .version < dist/metadata.json) - go run cmd/main.go \ + go run generator/main.go \ publish \ --namespace=mhenselin \ --providerName=stackitprivatepreview \