-
Notifications
You must be signed in to change notification settings - Fork 30
49 lines (45 loc) · 1.38 KB
/
sdks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
on:
# push:
# paths:
# - 'api-specs/**'
workflow_dispatch:
name: "SDK Generator"
permissions: {}
jobs:
sdk:
runs-on: ubuntu-latest
strategy:
matrix:
language:
- java
- csharp
- typescript
- php
# - postman
include:
- language: java
repository: 'commercetools/commercetools-sdk-java-v2'
sshKey: ${{ secrets.JAVA_SDK_DEPLOY_KEY }}
- language: csharp
repository: 'commercetools/commercetools-dotnet-core-sdk-v2'
sshKey: ${{ secrets.CSHARP_SDK_DEPLOY_KEY }}
- language: typescript
repository: 'commercetools/commercetools-sdk-typescript'
sshKey: ${{ secrets.TS_SDK_DEPLOY_KEY }}
- language: php
repository: 'commercetools/commercetools-sdk-php-v2'
sshKey: ${{ secrets.SDK_DEPLOY_KEY }}
# - language: postman
# repository: 'commercetools/commercetools-postman-collection'
# sshKey: ${{ secrets.POSTMAN_DEPLOY_KEY }}
steps:
- name: "Checkout api reference"
uses: actions/checkout@v3
with:
path: commercetools-api-reference
- name: "Checkout SDK"
uses: actions/checkout@v3
with:
repository: ${{ matrix.repository }}
path: commercetools-sdk
ssh-key: ${{ matrix.sshKey }}