mirror of
https://github.com/pypa/gh-action-pypi-publish.git
synced 2024-11-06 00:55:50 -05:00
parent
c37b99ec5f
commit
55abf9c047
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ filter to the step:
|
|||
|
||||
|
||||
```yml
|
||||
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
|
||||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
||||
```
|
||||
|
||||
So the full step would look like:
|
||||
|
@ -38,7 +38,7 @@ So the full step would look like:
|
|||
|
||||
```yml
|
||||
- name: Publish package
|
||||
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
|
||||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
||||
uses: pypa/gh-action-pypi-publish@master
|
||||
with:
|
||||
user: __token__
|
||||
|
|
Loading…
Reference in a new issue