Skip to content

Publish Plugin to Test PyPI #5

Publish Plugin to Test PyPI

Publish Plugin to Test PyPI #5

Workflow file for this run

name: Publish Plugin to Test PyPI
on:
workflow_dispatch:
jobs:
pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Set up Test PyPI Repository
run: |
poetry config repositories.test-pypi https://test.pypi.org/legacy/
- name: Build and Publish
run: |
cd web
npm install
npm run build
poetry build
poetry publish -r test-pypi -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.TEST_PYPI_PASSWORD }}