Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: publish new pydantic v2 version of python protocol, temporarily alongside pydantic v1 version #81

Merged
merged 17 commits into from
Jun 17, 2024
Merged
Prev Previous commit
github workflows
erohmensing committed Jun 11, 2024
commit 1f3a7bcaea66ec1435c88c2b21ddd26f9dba8d36
2 changes: 1 addition & 1 deletion .github/actions/publish/action.yml
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ runs:
TWINE_PASSWORD: ${{ inputs.twine_password }}
TWINE_USERNAME: ${{ inputs.twine_username }}

- name: Publish Dataclass Python Package
- name: Publish Pydantic-v2 Python Package
uses: mariamrf/py-package-publish-action@v1.1.0
with:
# specify the same version as in ~/.python-version

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not useful for others?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eh was just a copy paste, and good to know where it came from

6 changes: 3 additions & 3 deletions .github/workflows/pull-request-publish.yml
Original file line number Diff line number Diff line change
@@ -67,9 +67,9 @@ jobs:
TWINE_USERNAME: ${{ secrets.TEST_TWINE_USERNAME }}
TWINE_REPOSITORY_URL: "https://test.pypi.org/legacy/"

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

- name: Publish Python Package to test.pypi.org
uses: mariamrf/py-package-publish-action@v1.1.0