|
11 | 11 | JAVA_VERSION: "11" |
12 | 12 |
|
13 | 13 | jobs: |
14 | | - main-go: |
15 | | - name: "[Go] Update SDK Repo" |
16 | | - runs-on: ubuntu-latest |
17 | | - permissions: |
18 | | - pull-requests: write |
19 | | - contents: write |
20 | | - steps: |
21 | | - - name: Install SSH Key |
22 | | - uses: shimataro/ssh-key-action@v2 |
23 | | - with: |
24 | | - key: ${{ secrets.SSH_PRIVATE_KEY }} |
25 | | - known_hosts: ${{ vars.SSH_KNOWN_HOSTS }} |
26 | | - - name: Install Java |
27 | | - uses: actions/setup-java@v4 |
28 | | - with: |
29 | | - distribution: "temurin" |
30 | | - java-version: ${{ env.JAVA_VERSION }} |
31 | | - - name: Checkout |
32 | | - uses: actions/checkout@v4 |
33 | | - - name: Build |
34 | | - uses: ./.github/actions/build/go |
35 | | - with: |
36 | | - go-version: ${{ env.GO_VERSION }} |
37 | | - - name: Generate SDK |
38 | | - uses: ./.github/actions/generate-sdk/go |
39 | | - - name: Push SDK |
40 | | - env: |
41 | | - GH_REPO: "stackitcloud/stackit-sdk-go" |
42 | | - GH_TOKEN: ${{ secrets.SDK_PR_TOKEN }} |
43 | | - run: | |
44 | | - 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 }})" |
| 14 | + # main-go: |
| 15 | + # name: "[Go] Update SDK Repo" |
| 16 | + # runs-on: ubuntu-latest |
| 17 | + # permissions: |
| 18 | + # pull-requests: write |
| 19 | + # contents: write |
| 20 | + # steps: |
| 21 | + # - name: Install SSH Key |
| 22 | + # uses: shimataro/ssh-key-action@v2 |
| 23 | + # with: |
| 24 | + # key: ${{ secrets.SSH_PRIVATE_KEY }} |
| 25 | + # known_hosts: ${{ vars.SSH_KNOWN_HOSTS }} |
| 26 | + # - name: Install Java |
| 27 | + # uses: actions/setup-java@v4 |
| 28 | + # with: |
| 29 | + # distribution: "temurin" |
| 30 | + # java-version: ${{ env.JAVA_VERSION }} |
| 31 | + # - name: Checkout |
| 32 | + # uses: actions/checkout@v4 |
| 33 | + # - name: Build |
| 34 | + # uses: ./.github/actions/build/go |
| 35 | + # with: |
| 36 | + # go-version: ${{ env.GO_VERSION }} |
| 37 | + # - name: Generate SDK |
| 38 | + # uses: ./.github/actions/generate-sdk/go |
| 39 | + # - name: Push SDK |
| 40 | + # env: |
| 41 | + # GH_REPO: "stackitcloud/stackit-sdk-go" |
| 42 | + # GH_TOKEN: ${{ secrets.SDK_PR_TOKEN }} |
| 43 | + # run: | |
| 44 | + # 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 }})" |
45 | 45 | main-python: |
46 | 46 | name: "[Python] Update SDK Repo" |
47 | 47 | runs-on: ubuntu-latest |
|
0 commit comments