AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
Home/
Workflow Automation/
gh-action-pypi-publish
gh-action-pypi-publish logo

gh-action-pypi-publish

Active·★ 1.2k·Updated 2026-05-21
★ Essential★ Trending

The blessed :octocat: GitHub Action, for publishing your :package: distribution files to PyPI, the tokenless way: https://github.com/marketplace/actions/pypi-publish

This GitHub Action facilitates uploading Python distribution packages from the `dist/` directory to PyPI. It primarily supports PyPI's trusted publishing implementation, enabling secure authentication without explicit API tokens or credentials.

#GitHub Actions#PyPI#Python#CI/CD#Trusted Publishing#Coding
$ Install
$ uses: pypa/gh-action-pypi-publish@release/v1
↗ Visit site★ GitHub
01

Features

01Upload Python distribution packages to PyPI.
02Supports PyPI's trusted publishing via OpenID Connect (OIDC).
03Generates and uploads digital attestations for packages.
04Allows publishing to custom registries like TestPyPI.
05Provides options to customize package directory and handle duplicates.
02

Compatibility

GitHub Actions Ubuntu VM
Native
Verified via docs
GNU/Linux Docker Environments (within GitHub Actions)
Supported
Verified via docs
GitHub Actions Container Jobs ('container:' keyword)
Not Supported (Risky)
Verified via docs
Self-hosted GitHub Actions Runners
Partial Support (Best Effort)
Verified via docs
Trusted Publishing in Reusable Workflows
Unsupported
Verified via docs
GitHub Actions Composite Actions
Unsupported
Verified via docs
03

Quick start

1
$ uses: pypa/gh-action-pypi-publish@release/v1
04

Use cases

↳Automatically publish Python distribution packages to PyPI as part of a CI/CD pipeline.
↳Securely upload packages using PyPI's trusted publishing (OIDC) without manual token management.
↳Publish packages to alternative Python package indexes such as TestPyPI.
05

Alternatives

Gemini CLI logo
Gemini CLI★ 104.7k
An open-source AI agent that brings the power of Gemini directly into your terminal. Supports native MCP.
vs →
dagster logo
dagster★ 15.6k
An orchestration platform for the development, production, and observation of data assets.
vs →
Context7 logo
Context7★ 56.4k
MCP Server that provides up-to-date code documentation for LLMs and AI code editors.
vs →
GitHub MCP Server logo
GitHub MCP Server★ 30.3k
GitHub's official MCP Server. Allows AI agents to interact directly with your GitHub repositories (read files, search code, issues).
vs →
n8n logo
n8n★ 190.2k
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
vs →
Microsoft AutoGen logo
Microsoft AutoGen★ 58.5k
A framework that enables the development of LLM applications using multiple agents that can converse with each other to solve tasks.
vs →
CrewAI logo
CrewAI★ 52.4k
Framework for orchestrating role-playing, autonomous AI agents. By working together, your Crew can tackle complex tasks.
vs →
ToolJet logo
ToolJet★ 37.9k
ToolJet is the open-source foundation of ToolJet AI - the AI-native platform for building internal tools, dashboard, business applications, workflows and AI agents 🚀
vs →
See all alternatives →

Related searches

gh-action-pypi-publish AlternativesBest Workflow Automation Tools 2026Open Source Workflow Automationgh-action-pypi-publish Tutorialgh-action-pypi-publish Vs CompetitorsGitHub ActionsPyPIPython

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 1.2k
Last commit1w ago
StatusActive
License—
CategoryWorkflow Automation
Trend (30d)
+0k↑ 4.3%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
QYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.