We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37304f0 commit d03c9e5Copy full SHA for d03c9e5
1 file changed
.github/workflows/pypi-publish.yaml
@@ -18,17 +18,13 @@ jobs:
18
- run: pipenv install
19
- run: pipenv run "pytest"
20
- name: Get tag
21
- id: vars
+ id: getTag
22
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
23
- name: Create packages
24
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')
27
- name: Verify tag match
28
env:
29
- GHACTION_TAG: ${{ steps.vars.outputs.tag }}
+ GHACTION_TAG: ${{ steps.getTag.outputs.tag }}
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
30
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 }}
+
0 commit comments