Skip to content

Commit

Permalink
Adjust build action path (#37)
Browse files Browse the repository at this point in the history
* Adjust build action path

* Adjust python path
  • Loading branch information
vicentepinto98 authored Dec 23, 2024
1 parent 1e7acd4 commit aba65b5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/sdk-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit aba65b5

Please sign in to comment.