Skip to content

Commit

Permalink
remove wrong workflow arguments (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
CSY-ModelCloud authored Feb 10, 2025
1 parent c7ae820 commit efc81a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
path: dist/*gz

- name: Upload sdist to pypi
if: fail() && (github.event_name == 'release' || github.event.inputs.upload_pypi == 'true') && !cancelled()
if: (github.event_name == 'release' || github.event.inputs.upload_pypi == 'true') && !cancelled()
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_KEY }}
Expand All @@ -51,4 +51,4 @@ jobs:
if: always()
run: |
pip cache purge || true
rm -rf ../Tokenicer/*
rm -rf ../Tokenicer/*

0 comments on commit efc81a2

Please sign in to comment.