Skip to content

Commit 5bb1206

Browse files
authored
.github/workflows/PyNUTClient.yml: only update TestPyPI repo if PyNUT sources changed
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
1 parent d59c053 commit 5bb1206

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/PyNUTClient.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ name: Publish PyNUT client bindings for NUT 🐍 distributions 📦 to PyPI
22
# based on https://medium.com/@VersuS_/automate-pypi-releases-with-github-actions-4c5a9cfe947d
33
# and https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/
44

5+
# NOTE: We may need to split this workflow into two files to do only
6+
# paths for master branch, and run always for (release) tags?
57
on:
68
push:
9+
paths:
10+
- 'scripts/python/module'
711
tags:
812
- '*'
913
branches:

0 commit comments

Comments
 (0)