Skip to content

[VAN-122988] Renamed sdk directory since it won't have sdks inside. #8

[VAN-122988] Renamed sdk directory since it won't have sdks inside.

[VAN-122988] Renamed sdk directory since it won't have sdks inside. #8

Workflow file for this run

name: Generate SDKs
on:
workflow_dispatch:
push:
branches:
- 'release-**'
jobs:
preprocess-specifications:
name: Setup Environment
runs-on: ubuntu-latest
env:
ORIG_SPEC_DIR: ${{ github.workspace }}/res
SPEC_DIR: ${{ github.workspace }}/specs_preprocessed
PREPROCESSING_DIR: ${{ github.workspace }}/sdk-blueprints/preprocessing
steps:
- name: Checkout workflow repository
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Preprocess OpenAPI specifications
id: preprocess
run: |
python3 -m pip install -r $PREPROCESSING_DIR/requirements.txt
python3 $PREPROCESSING_DIR/preprocessing.py $ORIG_SPEC_DIR $SPEC_DIR
- name: Upload preprocessed specifications as artifact
uses: actions/upload-artifact@v4
with:
name: processed-specs-${{ github.ref_name }}
path: ${{ env.SPEC_DIR }}
retention-days: 7
generate-python-sdk:
name: Generate Python SDK
needs: setup-environment

Check failure on line 39 in .github/workflows/generate-sdks.yml

View workflow run for this annotation

GitHub Actions / Generate SDKs

Invalid workflow file

The workflow is not valid. .github/workflows/generate-sdks.yml (Line: 39, Col: 12): Job 'generate-python-sdk' depends on unknown job 'setup-environment'.
uses: ./.github/workflows/generate-python-sdk.yml
secrets: inherit