File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,10 @@ jobs:
4141 - name : Install pypa/build
4242 run : pip install build
4343 - name : Clone pathwaysutils from tag
44- if : github.event_name == 'worfklow_dispatch '
44+ if : github.event_name == 'workflow_dispatch '
4545 run : git clone --branch=${{inputs.tag}} https://github.com/AI-Hypercomputer/pathways-utils.git
4646 - name : Enter directory
47- if : github.event_name == 'worfklow_dispatch '
47+ if : github.event_name == 'workflow_dispatch '
4848 run : cd pathways-utils
4949 - name : Build a binary wheel and a source tarball
5050 run : python3 -m build
5555 path : dist/
5656
5757 publish-to-testpypi :
58- if : ${{ inputs.testpypi}} == true
58+ if : inputs.testpypi
5959 name : Publish Python distribution to TestPyPI
6060 needs :
6161 - build
7979
8080 publish-to-pypi :
8181 name : Publish Python distribution to PyPI
82- if : startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
82+ if : !inputs.testpypi && startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
8383 needs :
8484 - build
8585 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments