Skip to content

Commit 21437db

Browse files
committed
Update nightly PyPI publish workflow condition
Summary: This commit modifies the condition for publishing to PyPI in the nightly workflow. The check for a non-empty `PYPI_API_TOKEN` has been removed, allowing the publish step to execute regardless of the token's presence. Changes: - Updated the conditional statement in `.github/workflows/nightly-pypi.yml` for the PyPI publish step. This change simplifies the publishing process and ensures that the workflow runs as scheduled.
1 parent c816e52 commit 21437db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nightly-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
twine check dist/*
4646
4747
- name: Publish to PyPI (API token)
48-
if: github.event_name == 'schedule' && secrets.PYPI_API_TOKEN != ''
48+
if: github.event_name == 'schedule'
4949
uses: pypa/gh-action-pypi-publish@release/v1
5050
with:
5151
user: __token__

0 commit comments

Comments
 (0)