Skip to content

SDK Generator

SDK Generator #1

Workflow file for this run

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 }}

Check failure on line 25 in .github/workflows/sdks.yml

View workflow run for this annotation

GitHub Actions / SDK Generator

Invalid workflow file

The workflow is not valid. .github/workflows/sdks.yml (Line: 25, Col: 21): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.JAVA_SDK_DEPLOY_KEY .github/workflows/sdks.yml (Line: 28, Col: 21): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.CSHARP_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 }}