Skip to content

Commit

Permalink
add pypi publishing step
Browse files Browse the repository at this point in the history
  • Loading branch information
ricopinazo committed May 16, 2023
1 parent 6735a8c commit 9f08fe2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
TYPE: ${{ inputs.type }}
- name: Build project
run: hatch build
- name: Publish package distributions to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
- name: Create Git Tag
run: |
git tag v$(hatch version)
Expand Down Expand Up @@ -76,7 +80,5 @@ jobs:
with:
name: package
path: dist
- name: Publish package distributions to TestPyPI
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/

0 comments on commit 9f08fe2

Please sign in to comment.