Skip to content

Commit 3e77b7b

Browse files
committed
ci: use format() for dry_run conditions to handle both string and boolean inputs
1 parent efadac5 commit 3e77b7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/manual-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ jobs:
3535
id: build
3636

3737
- name: Publish package distributions to PyPI
38-
if: ${{ inputs.dry_run == false }}
38+
if: ${{ format('{0}', inputs.dry_run) == 'false' }}
3939
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
4040
with:
4141
password: ${{env.PYPI_AUTH_TOKEN}}
4242

4343
- name: Attest build provenance
44-
if: ${{ inputs.dry_run == false }}
44+
if: ${{ format('{0}', inputs.dry_run) == 'false' }}
4545
uses: actions/attest@v4
4646
with:
4747
subject-path: 'dist/*'

0 commit comments

Comments
 (0)