File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License
1414
15- name : PyPI releases
15+ name : Build Wheel and PyPI releases
1616on :
1717 workflow_dispatch :
1818 inputs :
3737 uses : actions/setup-python@v5
3838 with :
3939 python-version : " 3.x"
40+ - run : pip --version
4041 - name : Install pypa/build
41- run : pip --version
4242 run : pip install build
4343 - name : Clone pathwaysutils from tag
4444 if : github.event_name == 'worfklow_dispatch'
5757 publish-to-testpypi :
5858 if : ${{inputs.testpypi}} == true
5959 name : Publish Python distribution to TestPyPI
60- uses : ./.github/workflows/test.yml
6160 needs :
62- - test
6361 - build
6462 runs-on : ubuntu-latest
6563 environment :
8179
8280 publish-to-pypi :
8381 name : Publish Python distribution to PyPI
84- uses : ./.github/workflows/test.yml
8582 if : startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
8683 needs :
87- - test
8884 - build
8985 runs-on : ubuntu-latest
9086 environment :
You can’t perform that action at this time.
0 commit comments