Skip to content

Commit

Permalink
run generators
Browse files Browse the repository at this point in the history
  • Loading branch information
erohmensing committed Jun 7, 2024
1 parent 536fe0a commit c698f3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/pull-request-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ jobs:
- name: Generate Python Protocol Classes
run: protocol-models/bin/generate-python-classes-docker.sh

# python - dataclasses
- name: Generate Python Dataclass Protocol Classes
run: protocol-models/bin/generate-python-dataclasses-docker.sh

- name: Publish Python Package to test.pypi.org
uses: mariamrf/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion protocol-models/bin/generate-python-dataclasses.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ROOT_DIR=${ROOT_DIR:-$(git rev-parse --show-toplevel)}


YAML_DIR=protocol-models/src/main/resources/airbyte_protocol
OUTPUT_DIR=protocol-models/python/airbyte_protocol/models
OUTPUT_DIR=protocol-models/python/airbyte_protocol_dataclasses/airbyte_protocol_dataclasses/models

python -m pip install --upgrade pip
pip install -U datamodel_code_generator
Expand Down

0 comments on commit c698f3e

Please sign in to comment.