Skip to content

Commit

Permalink
Migrate GitHub publish workflow to hatch.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewwardrop committed Aug 17, 2023
1 parent 65e9854 commit e5b3b20
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry poetry-dynamic-versioning
pip install hatch
- name: Build and publish
env:
POETRY_HTTP_BASIC_PYPI_USERNAME: __token__
POETRY_HTTP_BASIC_PYPI_PASSWORD: ${{ secrets.PYPI_PUBLISH_TOKEN }}
HATCH_INDEX_USER: __token__
HATCH_INDEX_AUTH: ${{ secrets.PYPI_PUBLISH_TOKEN }}
run: |
poetry build
poetry publish
hatch build
hatch publish

0 comments on commit e5b3b20

Please sign in to comment.