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 8a8d3e9 commit ef05b87Copy full SHA for ef05b87
.github/workflows/publish-to-pypi.yml
@@ -2,7 +2,8 @@ name: Publish to PyPI
2
3
on:
4
release:
5
- types: [published]
+ types:
6
+ - published
7
workflow_dispatch:
8
9
jobs:
@@ -21,16 +22,13 @@ jobs:
21
22
with:
23
python-version: "3.11"
24
- - name: Install build and test dependencies
25
+ - name: Install build tooling
26
run: |
27
python -m pip install --upgrade pip
- python -m pip install hatch twine
28
-
29
- - name: Run tests
30
- run: hatch run test:pytest -v
+ python -m pip install build twine
31
32
- name: Build artifacts
33
- run: hatch build
+ run: python -m build
34
35
- name: Configure publish credentials
36
id: publish-config
0 commit comments