77 workflow_dispatch :
88
99env :
10- GO_VERSION : ' 1.22'
11- JAVA_VERSION : ' 11 '
10+ GO_VERSION : " 1.22"
11+ JAVA_VERSION : " 11 "
1212
1313jobs :
1414 main-go :
@@ -23,22 +23,22 @@ jobs:
2323 - name : Install Java
2424 uses : actions/setup-java@v4
2525 with :
26- distribution : ' temurin'
26+ distribution : " temurin"
2727 java-version : ${{ env.JAVA_VERSION }}
2828 - name : Checkout
2929 uses : actions/checkout@v4
3030 - name : Build
31- uses : ./.github/actions/build
31+ uses : ./.github/actions/build/go
3232 with :
3333 go-version : ${{ env.GO_VERSION }}
3434 - name : Generate SDK
3535 uses : ./.github/actions/generate-sdk/go
3636 - name : Push SDK
37- env :
38- GH_REPO : ' stackitcloud/stackit-sdk-go'
37+ env :
38+ GH_REPO : " stackitcloud/stackit-sdk-go"
3939 GH_TOKEN : ${{ secrets.SDK_PR_TOKEN }}
4040 run : |
41- scripts/sdk-create-pr.sh "generator-bot-${{ github.run_id }}" "Generated from GitHub run [${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})"
41+ scripts/sdk-create-pr.sh "generator-bot-${{ github.run_id }}" "Generated from GitHub run [${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})"
4242 main-python :
4343 name : " [Python] Update SDK Repo"
4444 runs-on : ubuntu-latest
@@ -51,19 +51,17 @@ jobs:
5151 - name : Install Java
5252 uses : actions/setup-java@v4
5353 with :
54- distribution : ' temurin'
54+ distribution : " temurin"
5555 java-version : ${{ env.JAVA_VERSION }}
5656 - name : Checkout
5757 uses : actions/checkout@v4
5858 - name : Build
59- uses : ./.github/actions/build
60- with :
61- go-version : ${{ env.GO_VERSION }}
59+ uses : ./.github/actions/build/python
6260 - name : Generate SDK
6361 uses : ./.github/actions/generate-sdk/python
6462 - name : Push SDK
65- env :
66- GH_REPO : ' stackitcloud/stackit-sdk-python'
63+ env :
64+ GH_REPO : " stackitcloud/stackit-sdk-python"
6765 GH_TOKEN : ${{ secrets.SDK_PR_TOKEN }}
6866 run : |
69- scripts/sdk-create-pr.sh "generator-bot-${{ github.run_id }}" "Generated from GitHub run [${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})" "[email protected] :stackitcloud/stackit-sdk-python.git" "python" 67+ scripts/sdk-create-pr.sh "generator-bot-${{ github.run_id }}" "Generated from GitHub run [${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})" "[email protected] :stackitcloud/stackit-sdk-python.git" "python"
0 commit comments