Skip to content

Workflow file for this run

name: Upload Package to PyPi
on:
push:
branches:
- 'testpypi'
# workflow_run:
# workflows: [CI validation]
# branches: [testpypi]
# types:
# - completed
permissions:
contents: read
#
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Version bump
uses: apowis/[email protected]
with:
file_to_bump: "./pyproject.toml"
bump_type: "minor"
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- run: pip install build
- run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1.8