summaryrefslogtreecommitdiffstats
path: root/.github/workflows/pypi.yml
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2021-05-17 00:20:09 +0200
committerDiego Elio Pettenò <flameeyes@flameeyes.com>2021-05-17 00:55:16 +0200
commit68b95ebf86bd23b6e7423c8459e0cd2b207fd56a (patch)
tree87ff8b6df9ba3fa6cf79500bbe080c869cbc6c27 /.github/workflows/pypi.yml
parentUse the new usbmon-tools 3 DeviceAddress command line flags. (diff)
downloadfreestyle-hid-68b95ebf86bd23b6e7423c8459e0cd2b207fd56a.tar
freestyle-hid-68b95ebf86bd23b6e7423c8459e0cd2b207fd56a.tar.gz
freestyle-hid-68b95ebf86bd23b6e7423c8459e0cd2b207fd56a.tar.bz2
freestyle-hid-68b95ebf86bd23b6e7423c8459e0cd2b207fd56a.tar.lz
freestyle-hid-68b95ebf86bd23b6e7423c8459e0cd2b207fd56a.tar.xz
freestyle-hid-68b95ebf86bd23b6e7423c8459e0cd2b207fd56a.tar.zst
freestyle-hid-68b95ebf86bd23b6e7423c8459e0cd2b207fd56a.zip
Diffstat (limited to '.github/workflows/pypi.yml')
-rw-r--r--.github/workflows/pypi.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml
index 5882c48..61cf219 100644
--- a/.github/workflows/pypi.yml
+++ b/.github/workflows/pypi.yml
@@ -24,6 +24,7 @@ jobs:
run: |
python -m build --sdist --wheel --outdir dist/ .
- name: Publish package to TestPyPI
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}