diff --git a/.github/workflows/generate-python-sdk.yml b/.github/workflows/generate-python-sdk.yml index ea31ef2..893e88f 100644 --- a/.github/workflows/generate-python-sdk.yml +++ b/.github/workflows/generate-python-sdk.yml @@ -2,14 +2,16 @@ name: Generate Python SDK on: workflow_call: - inputs: - specifications: - required: true - type: string env: SPEC_DIR: ${{ github.workspace }}/specs_preprocessed PYTHON_DIR: ${{ github.workspace }}/sdks/python + SPECIFICATIONS: | + administration-apis, + analytic-model-apis, + authentication-apis, + data-in-apis, + data-out-apis jobs: generate-python-sdk: @@ -62,8 +64,6 @@ jobs: - name: Generate Python SDK for all specifications shell: bash - env: - SPECIFICATIONS: ${{ inputs.specifications }} run: | SPECIFICATION_LIST=$(echo $SPECIFICATIONS | tr ',' '\n') for specification in $SPECIFICATION_LIST; do diff --git a/.github/workflows/generate-sdks.yml b/.github/workflows/generate-sdks.yml index 1d6e59c..181ba7f 100644 --- a/.github/workflows/generate-sdks.yml +++ b/.github/workflows/generate-sdks.yml @@ -14,12 +14,6 @@ jobs: ORIG_SPEC_DIR: ${{ github.workspace }}/res SPEC_DIR: ${{ github.workspace }}/specs_preprocessed PREPROCESSING_DIR: ${{ github.workspace }}/sdks/preprocessing - SPECIFICATIONS: | - administration-apis, - analytic-model-apis, - authentication-apis, - data-in-apis, - data-out-apis steps: - name: Checkout workflow repository @@ -46,4 +40,9 @@ jobs: uses: ./.github/workflows/generate-python-sdk.yml secrets: inherit with: - specifications: ${{ env.SPECIFICATIONS }} \ No newline at end of file + specifications: | + administration-apis, + analytic-model-apis, + authentication-apis, + data-in-apis, + data-out-apis \ No newline at end of file