Skip to content

Commit d03c9e5

Browse files
author
chadcarlson
committed
Syntax fix.
1 parent 37304f0 commit d03c9e5

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/pypi-publish.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,13 @@ jobs:
1818
- run: pipenv install
1919
- run: pipenv run "pytest"
2020
- name: Get tag
21-
id: vars
21+
id: getTag
2222
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
2323
- name: Create packages
2424
run: pipenv run python setup.py sdist bdist_wheel
25-
- name: Publish to pypi
26-
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
2725
- name: Verify tag match
2826
env:
29-
GHACTION_TAG: ${{ steps.vars.outputs.tag }}
27+
GHACTION_TAG: ${{ steps.getTag.outputs.tag }}
28+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
3029
run: pipenv run python setup.py verify
31-
- uses: pypa/gh-action-pypi-publish@v1.4.1
32-
with:
33-
user: __token__
34-
password: ${{ secrets.PYPI_API_TOKEN }}
30+

0 commit comments

Comments
 (0)