We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent babac16 commit 84209a8Copy full SHA for 84209a8
1 file changed
.github/workflows/publish.yml
@@ -30,7 +30,7 @@ jobs:
30
- run: python -m pip install build
31
- run: python -m build
32
- name: Publish to TestPyPI
33
- if: ${{ github.event_name == 'workflow_dispatch' && inputs.publish_to == 'testpypi' && github.ref == 'refs/heads/release/test' }}
+ if: ${{ github.event_name == 'workflow_dispatch' && inputs.publish_to == 'testpypi' && startsWith(github.ref, 'refs/heads/release/test') }}
34
uses: pypa/gh-action-pypi-publish@release/v1
35
with:
36
repository-url: https://test.pypi.org/legacy/
0 commit comments