Skip to content

Manual PyPi Publish

Manual PyPi Publish #6

name: Manual PyPi Publish
on:
workflow_dispatch:
inputs:
username:
description: PyPi Username
required: true
default: __token__
password:
description: PyPi Password
required: true
jobs:
publish:
name: Manual PyPi Publish
runs-on: ubuntu-latest
steps:
- name: Clone Repository
uses: actions/checkout@v4
- name: Set up Python '3.10'
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Set up Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.1.13
- name: Install dependencies
run: poetry install
- name: Publish to PyPi
run: poetry publish --build -u ${{ github.event.inputs.username }} -p ${{ github.event.inputs.password }}