Skip to content

Commit 519921c

Browse files
authored
Merge pull request #114 from qutech/maint/drop_twine
Use hatch for publishing
2 parents 4fca745 + 8d36686 commit 519921c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060

6161
- uses: actions/setup-python@v5
6262
with:
63-
python-version: '3.12'
63+
python-version: '3.13'
6464
cache: pip
6565

6666
- name: Install dependencies
@@ -74,7 +74,7 @@ jobs:
7474
7575
- name: Publish package
7676
env:
77-
TWINE_USERNAME: __token__
78-
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
77+
HATCH_INDEX_USER: __token__
78+
HATCH_INDEX_AUTH: ${{ secrets.PYPI_API_TOKEN }}
7979
run: |
80-
twine upload dist/*
80+
python -m hatch publish

0 commit comments

Comments
 (0)