diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d924c41..82c72c0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,7 @@ jobs: - name: Publish the Python package env: TWINE_USERNAME: __token__ + # Ensure that PYPI_API_TOKEN is set in your repository or organization secrets at https://github.com///settings/secrets/actions TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | python -m build @@ -38,4 +39,5 @@ jobs: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + # Ensure that NPM_TOKEN is set in your repository or organization secrets at https://github.com///settings/secrets/actions PRE_RELEASE: ${{ github.event.release.prerelease }}