Skip to content

Bump version: 0.0.1 → 0.0.2 #5

Bump version: 0.0.1 → 0.0.2

Bump version: 0.0.1 → 0.0.2 #5

Workflow file for this run

name: Upload Python Package
on:
release:
types: [published]
push:
tags:
- 'v*'
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: publish to Test PyPI
uses: pypa/[email protected]
continue-on-error: true
with:
repository-url: https://test.pypi.org/legacy/
- name: Publish to PyPI
if: github.event_name == 'release' && github.event.action == 'published'
uses: pypa/[email protected]