Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pypi Publish Action #159

Merged
merged 5 commits into from
Apr 22, 2024
Merged

Pypi Publish Action #159

merged 5 commits into from
Apr 22, 2024

Conversation

hynky1999
Copy link
Contributor

Adds action for automatic publishing to pypi

Expected workflow

  • Before release update the version in pyproject.toml
  • Manually trigger the action
  • If everything goes well new tag with your version is created
  • Create a release.

What needs to be set:

SECRETS:

  • Give actions read/write permissions
  • PYPI_TOKEN=token for pypi
  • TEST_PYPI_TOKEN=token for testpypi

.github/workflows/pypi-release.yml Outdated Show resolved Hide resolved
.github/workflows/pypi-release.yml Outdated Show resolved Hide resolved
.github/workflows/pypi-release.yml Show resolved Hide resolved
.github/workflows/pypi-release.yml Outdated Show resolved Hide resolved
@guipenedo guipenedo merged commit 50eb055 into huggingface:main Apr 22, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants