File tree 1 file changed +2
-6
lines changed
1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License
14
14
15
- name : PyPI releases
15
+ name : Build Wheel and PyPI releases
16
16
on :
17
17
workflow_dispatch :
18
18
inputs :
37
37
uses : actions/setup-python@v5
38
38
with :
39
39
python-version : " 3.x"
40
+ - run : pip --version
40
41
- name : Install pypa/build
41
- run : pip --version
42
42
run : pip install build
43
43
- name : Clone pathwaysutils from tag
44
44
if : github.event_name == 'worfklow_dispatch'
57
57
publish-to-testpypi :
58
58
if : ${{inputs.testpypi}} == true
59
59
name : Publish Python distribution to TestPyPI
60
- uses : ./.github/workflows/test.yml
61
60
needs :
62
- - test
63
61
- build
64
62
runs-on : ubuntu-latest
65
63
environment :
81
79
82
80
publish-to-pypi :
83
81
name : Publish Python distribution to PyPI
84
- uses : ./.github/workflows/test.yml
85
82
if : startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
86
83
needs :
87
- - test
88
84
- build
89
85
runs-on : ubuntu-latest
90
86
environment :
You can’t perform that action at this time.
0 commit comments