diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bc0287e..72f049e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} @@ -51,4 +51,4 @@ jobs: if: always() run: | pip cache purge || true - rm -rf ../Tokenicer/* \ No newline at end of file + rm -rf ../Tokenicer/*