From aba65b5653c704eed6e96738a48bd90b218f6616 Mon Sep 17 00:00:00 2001 From: Vicente Pinto Date: Mon, 23 Dec 2024 09:59:08 +0000 Subject: [PATCH] Adjust build action path (#37) * Adjust build action path * Adjust python path --- .github/workflows/sdk-pr.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sdk-pr.yaml b/.github/workflows/sdk-pr.yaml index 1fba597..ab77ae9 100644 --- a/.github/workflows/sdk-pr.yaml +++ b/.github/workflows/sdk-pr.yaml @@ -31,7 +31,7 @@ jobs: repository: "stackitcloud/stackit-sdk-generator" ref: "main" - name: Build - uses: ./.github/actions/build + uses: ./.github/actions/build/go with: go-version: ${{ env.GO_VERSION }} - name: Download OAS @@ -43,7 +43,7 @@ jobs: GH_REPO: "stackitcloud/stackit-sdk-go" GH_TOKEN: ${{ secrets.SDK_PR_TOKEN }} run: | - scripts/sdk-create-pr.sh "oas-bot-${{ github.run_id }}" "Generated from GitHub run [${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})" + scripts/sdk-create-pr.sh "oas-bot-${{ github.run_id }}" "Generated from GitHub run [${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})" main-python: name: "[Python] Update SDK Repo" @@ -65,11 +65,11 @@ jobs: repository: "stackitcloud/stackit-sdk-generator" ref: "main" - name: Build - uses: ./.github/actions/build + uses: ./.github/actions/build/python with: go-version: ${{ env.GO_VERSION }} - name: Download OAS - run: make download-oas + run: make download-oas - name: Generate SDK run: make generate-sdk LANGUAGE=python - name: Install Python SDK