From 482b06f8feb9958eb56611ab12127a2862250398 Mon Sep 17 00:00:00 2001 From: w4nn4d13 Date: Mon, 6 Apr 2026 23:28:06 +0530 Subject: [PATCH] CI: add new manual PyPI publish workflow --- .github/workflows/publish-pypi-manual.yml | 31 +++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/publish-pypi-manual.yml diff --git a/.github/workflows/publish-pypi-manual.yml b/.github/workflows/publish-pypi-manual.yml new file mode 100644 index 0000000..fadaf46 --- /dev/null +++ b/.github/workflows/publish-pypi-manual.yml @@ -0,0 +1,31 @@ +name: Publish PyPI (Manual New) + +on: + workflow_dispatch: + +jobs: + publish: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v5 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.11' + + - name: Install build tools + run: | + python -m pip install --upgrade pip + python -m pip install build twine + + - name: Build package + run: python -m build + + - name: Upload to PyPI + env: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} + run: | + python -m twine upload dist/* --skip-existing --verbose