https://github.com/cucumber/action-publish-pypi
https://github.com/cucumber/action-publish-pypi
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/cucumber/action-publish-pypi
- Owner: cucumber
- License: mit
- Archived: true
- Created: 2022-12-01T18:57:20.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-14T21:31:36.000Z (over 1 year ago)
- Last Synced: 2025-03-20T14:41:49.849Z (over 1 year ago)
- Size: 31.3 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/cucumber/action-publish-pypi/actions/workflows/test.yaml)
# action-publish-pypi
Publishes a Python package to https://pypi.org/
Needs Python to be installed first.
## Inputs
* `working-directory` (optional, default `.`)
## Example
```yaml
name: Publish
on:
push:
branches:
- "release/*"
jobs:
publish-ui:
name: Publish to PyPI
runs-on: ubuntu-latest
environment: Release
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: cucumber/action-publish-pypi@v1.0.0
with:
working-directory: "python"
```