Skip to content

Commit 4508d40

Browse files
committed
Revert "add PRs into main as pypi.yml trigger for testing the local wheel build"
This reverts commit 9795c9d.
1 parent 9795c9d commit 4508d40

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/pypi.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ on:
77
push:
88
branches:
99
- main
10-
pull_request:
11-
branches:
12-
- main
1310
release:
1411
types: [published]
1512

@@ -39,8 +36,8 @@ jobs:
3936
pip install 'mhkit[all]' --find-links dist/
4037
python -c "from mhkit import wave, river, tidal, dolfyn, power, loads, mooring, acoustics, qc, utils; print('All modules imported successfully')"
4138
42-
- name: Upload to Test PyPI (commits to main only)
43-
if: github.event_name == 'push' && github.repository_owner == 'MHKiT-Software'
39+
- name: Upload to Test PyPI
40+
if: github.event_name != 'release' && github.repository_owner == 'MHKiT-Software'
4441
uses: pypa/gh-action-pypi-publish@release/v1
4542
with:
4643
user: __token__

0 commit comments

Comments
 (0)