We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8842893 commit 3afca01Copy full SHA for 3afca01
.github/workflows/upload.yml
@@ -21,12 +21,13 @@ jobs:
21
python -m pip install --upgrade pip
22
pip install pipenv
23
pipenv install --dev
24
- pipenv install SecretStorage
25
26
- - name: Build and publish
27
- env:
28
- TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
29
- TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
+ - name: Build package
30
run: |
31
pipenv run python setup.py sdist bdist_wheel
32
- pipenv run twine upload dist/*
+
+ - name: Publish package
+ if: startsWith(github.ref, 'refs/tags')
+ uses: pypa/gh-action-pypi-publish@master
+ with:
33
+ password: ${{ secrets.pypi_password }}
0 commit comments