We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a58e4a9 commit 7ead63cCopy full SHA for 7ead63c
1 file changed
.github/workflows/build-n-publish.yaml
@@ -3,7 +3,8 @@ name: "Publish Python distributions to PyPI and TestPyPI"
3
4
on:
5
push:
6
- tags: ["*"]
+ tags:
7
+ - "v*"
8
9
jobs:
10
build-n-publish:
@@ -22,7 +23,12 @@ jobs:
22
23
24
- name: Build a binary wheel and a source tarball
25
run: python -m build --sdist --wheel --outdir dist/
-
26
+
27
+ - name: Release
28
+ uses: softprops/action-gh-release@v1
29
+ with:
30
+ files: dist/*
31
32
- name: "Publish distribution to PyPI"
33
if: 'startsWith(github.ref, ''refs/tags'')'
34
uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments