Manual PyPi Publish #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |