We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
hatch
1 parent a830c09 commit c664385Copy full SHA for c664385
.github/workflows/release.yml
@@ -15,17 +15,14 @@ jobs:
15
uses: actions/setup-python@v3
16
with:
17
python-version: 3.9
18
- - name: Install tox
19
- run: >-
20
- python -m
21
- pip install
22
- tox
23
- --user
24
- - name: Build a binary wheel and a source tarball
25
26
- python -m tox -e build
27
- - name: Publish distribution 📦 to PyPI
28
- uses: pypa/gh-action-pypi-publish@release/v1
29
- with:
30
- user: __token__
31
- password: ${{ secrets.PYPI_TOKEN }}
+
+ - run: pip install hatch
+ - name: Build package
+ run: hatch build
+ - name: Publish package
+ run: hatch publish -n
+ env:
+ HATCH_INDEX_USER: __token__
+ HATCH_INDEX_AUTH: ${{ secrets.PYPI_TOKEN }}
0 commit comments