File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 5050 python setup.py sdist bdist_wheel
5151
5252 - name : Publish distribution to PyPI
53- if : github.event_name == 'push' && env.BRANCH == 'master' && steps.release_info.outputs.version != 'unreleased'
53+ if : github.event_name == 'push' && github.ref == 'refs/heads/ master' && steps.release_info.outputs.version != 'unreleased'
5454 uses : pypa/gh-action-pypi-publish@master
5555 with :
5656 password : ${{ secrets.pypi_password }}
Original file line number Diff line number Diff line change 2626 echo "::set-output name=changelog::$changelog"
2727
2828 - name : create release
29- if : github.event_name == 'push' && env.BRANCH == 'master' && steps.release_info.outputs.version != 'unreleased'
29+ if : github.event_name == 'push' && github.ref == 'refs/heads/ master' && steps.release_info.outputs.version != 'unreleased'
3030 uses : actions/create-release@v1
3131 id : create_release
3232 env :
You can’t perform that action at this time.
0 commit comments