8000 Update publish-pypi.yml (#1130) · tableau/server-client-python@83e1069 · GitHub
[go: up one dir, main page]

Skip to content

Commit 83e1069

Browse files
authored
Update publish-pypi.yml (#1130)
* Update publish-pypi.yml Change from user saying to use prod to using prod whenever it runs on master
1 parent 4873a58 commit 83e1069

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,15 @@ jobs:
2626
pip install -e .[test] build
2727
python -m build
2828
git describe --tag --dirty --always
29-
- name: Publish distribution 📦 to Test PyPI
29+
30+
- name: Publish distribution 📦 to Test PyPI # always run
3031
uses: pypa/gh-action-pypi-publish@release/v1 # license BSD-2
3132
with:
3233
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
3334
repository_url: https://test.pypi.org/legacy/
35+
3436
- name: Publish distribution 📦 to PyPI
35-
if: github.ref == 'refs/heads/master'
37+
if: $GITHUB_REF == 'refs/heads/master'
3638
uses: pypa/gh-action-pypi-publish@release/v1 # license BSD-2
3739
with:
3840
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)
0