Skip to content

Python WebUI v2.5.0

Python WebUI v2.5.0 #7

Workflow file for this run

name: Publish PyPi Package
on:
release:
types: [created]
permissions:
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies and Publish package
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade build
python -m pip install --upgrade twine
cd PyPI/Package/src/webui
chmod +x bootstrap.sh
./bootstrap.sh
cd ../..
python -m build
python -m twine upload --repository pypi dist/* --username __token__ --password ${{ secrets.PYPI_API_TOKEN }}