Skip to content

Commit

Permalink
Attempt using hatch publish command (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger authored Dec 2, 2024
1 parent 714191f commit 7eb0b41
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/publish-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ jobs:
python-version: "3.x"
- name: Install dependencies
run: pip install --upgrade pip hatch uv
- name: Build and publish
- name: Build Package
run: hatch build --clean
- name: Publish to PyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
hatch build --clean
twine upload dist/*
HATCH_INDEX_USER: ${{ secrets.PYPI_USERNAME }}
HATCH_INDEX_AUTH: ${{ secrets.PYPI_PASSWORD }}
HATCH_INDEX_REPO: reactpy-django
run: hatch publish --yes

0 comments on commit 7eb0b41

Please sign in to comment.