Skip to content

Commit

Permalink
fix: PyPI publish workflow not working
Browse files Browse the repository at this point in the history
  • Loading branch information
KAUTH committed Jun 10, 2024
1 parent 39388b6 commit cbbfcfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
twine check dist/*
- name: Publish package to PyPI
working-directory: ./datamodels/python
if: github.repository == 'KAUTH/govgr-opendata-api-schema'
run: |
cd datamodels/python
uses: pypa/gh-action-pypi-publish@release/v1
3 changes: 2 additions & 1 deletion .github/workflows/test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ jobs:
twine check dist/*
- name: Publish package to TestPyPI
working-directory: ./datamodels/python
if: github.repository == 'KAUTH/govgr-opendata-api-schema'
run: |
cd datamodels/python
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
Expand Down

0 comments on commit cbbfcfe

Please sign in to comment.