Skip to content

Commit 7fc67d3

Browse files
authored
changed to build on change of __init__.py
building happens on every push, only want to build on version change.
1 parent f10f6d1 commit 7fc67d3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test-and-build.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Test and Publish
2-
on:
2+
on:
33
push:
4-
branches:
5-
- master
4+
paths:
5+
- 'SimConnect/__init__.py'
66

77
jobs:
88
build-n-publish:
@@ -22,4 +22,4 @@ jobs:
2222
uses: pypa/gh-action-pypi-publish@master
2323
with:
2424
user: __token__
25-
password: ${{ secrets.pypi_password }}
25+
password: ${{ secrets.pypi_password }}

0 commit comments

Comments
 (0)