Skip to content

Update README.md

Update README.md #14

name: Publish CTk Toggle Package
on:
push:
branches:
- main
tags:
- "v*"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install build tools
run: |
python -m pip install --upgrade pip
python -m pip install build
- name: Build the package
run: |
python -m build
- name: Publish to PyPI
uses: pypa/[email protected]
with:
password: ${{ secrets.PYPI_API_TOKEN }}