7
7
workflow_dispatch :
8
8
9
9
env :
10
- GO_VERSION : ' 1.22'
11
- JAVA_VERSION : ' 11 '
10
+ GO_VERSION : " 1.22"
11
+ JAVA_VERSION : " 11 "
12
12
13
13
jobs :
14
14
main-go :
@@ -23,22 +23,22 @@ jobs:
23
23
- name : Install Java
24
24
uses : actions/setup-java@v4
25
25
with :
26
- distribution : ' temurin'
26
+ distribution : " temurin"
27
27
java-version : ${{ env.JAVA_VERSION }}
28
28
- name : Checkout
29
29
uses : actions/checkout@v4
30
30
- name : Build
31
- uses : ./.github/actions/build
31
+ uses : ./.github/actions/build/go
32
32
with :
33
33
go-version : ${{ env.GO_VERSION }}
34
34
- name : Generate SDK
35
35
uses : ./.github/actions/generate-sdk/go
36
36
- name : Push SDK
37
- env :
38
- GH_REPO : ' stackitcloud/stackit-sdk-go'
37
+ env :
38
+ GH_REPO : " stackitcloud/stackit-sdk-go"
39
39
GH_TOKEN : ${{ secrets.SDK_PR_TOKEN }}
40
40
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 }})"
42
42
main-python :
43
43
name : " [Python] Update SDK Repo"
44
44
runs-on : ubuntu-latest
@@ -51,19 +51,17 @@ jobs:
51
51
- name : Install Java
52
52
uses : actions/setup-java@v4
53
53
with :
54
- distribution : ' temurin'
54
+ distribution : " temurin"
55
55
java-version : ${{ env.JAVA_VERSION }}
56
56
- name : Checkout
57
57
uses : actions/checkout@v4
58
58
- name : Build
59
- uses : ./.github/actions/build
60
- with :
61
- go-version : ${{ env.GO_VERSION }}
59
+ uses : ./.github/actions/build/python
62
60
- name : Generate SDK
63
61
uses : ./.github/actions/generate-sdk/python
64
62
- name : Push SDK
65
- env :
66
- GH_REPO : ' stackitcloud/stackit-sdk-python'
63
+ env :
64
+ GH_REPO : " stackitcloud/stackit-sdk-python"
67
65
GH_TOKEN : ${{ secrets.SDK_PR_TOKEN }}
68
66
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 }})" "git@github.com: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 }})" "git@github.com:stackitcloud/stackit-sdk-python.git" "python"
0 commit comments