We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76fc980 commit 3fe5584Copy full SHA for 3fe5584
.github/workflows/publish.yml
@@ -15,18 +15,10 @@ jobs:
15
- name: Install dependencies
16
run: |
17
python -m pip install --upgrade pip
18
- pip install setuptools wheel twine
19
-
20
- - name: Import GPG Key
21
- run: |
22
- echo "${{ secrets.GPG_PRIVATE_KEY }}" | base64 --decode | gpg --import --batch --yes --no-tty
23
24
- - name: Build and sign distribution
+ pip install build twine
+ - name: Build the python package
25
26
- python setup.py sdist bdist_wheel
27
- gpg --batch --yes --no-tty --pinentry-mode loopback --detach-sign -a dist/*.tar.gz
28
- gpg --batch --yes --no-tty --pinentry-mode loopback --detach-sign -a dist/*.whl
29
+ python -m build
30
- name: Upload to PyPI
31
run: twine upload dist/*
32
env:
0 commit comments