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.
1 parent 75ee395 commit d54a433Copy full SHA for d54a433
.github/workflows/tag_and_publish.yml
@@ -3,7 +3,7 @@ name: Auto Tag and Upload Python Package
3
on:
4
push:
5
branches:
6
- - dev
+ - test
7
8
jobs:
9
tag_and_publish:
@@ -52,13 +52,13 @@ jobs:
52
release_name: Release ${{ env.VERSION }}
53
body_path: ./release_notes.txt
54
55
- - name: Build
+ - name: Build and publish
56
if: env.RELEASE_EXISTS == 'false'
57
run: |
58
python -m pip install --upgrade pip
59
pip install -e '.[dev]'
60
hatch build
61
-
62
- - name: Publish
63
- if: env.RELEASE_EXISTS == 'false'
64
- uses: pypa/gh-action-pypi-publish@release/v1
+ hatch publish
+ env:
+ HATCH_INDEX_USER: __token__
+ HATCH_INDEX_AUTH: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments