Skip to content

Commit 2c1fa50

Browse files
authored
INTPYTHON-589 Fix PyPI upload conditional (#70)
1 parent 5719b1d commit 2c1fa50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ jobs:
8080
with:
8181
repository-url: https://test.pypi.org/legacy/
8282
skip-existing: true
83-
attestations: ${{ !startsWith(github.ref, 'refs/tags/') }}
83+
attestations: ${{ env.DRY_RUN }}
8484
- name: Publish distribution 📦 to PyPI
85-
if: startsWith(github.ref, 'refs/tags/')
85+
if: startsWith(env.DRY_RUN, 'false')
8686
uses: pypa/gh-action-pypi-publish@release/v1
8787

8888
post-publish:

0 commit comments

Comments
 (0)