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 4873a58 commit 83e1069Copy full SHA for 83e1069
.github/workflows/publish-pypi.yml
@@ -26,13 +26,15 @@ jobs:
26
pip install -e .[test] build
27
python -m build
28
git describe --tag --dirty --always
29
- - name: Publish distribution 📦 to Test PyPI
+
30
+ - name: Publish distribution 📦 to Test PyPI # always run
31
uses: pypa/gh-action-pypi-publish@release/v1 # license BSD-2
32
with:
33
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
34
repository_url: https://test.pypi.org/legacy/
35
36
- name: Publish distribution 📦 to PyPI
- if: github.ref == 'refs/heads/master'
37
+ if: $GITHUB_REF == 'refs/heads/master'
38
39
40
password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments