Skip to content

23.11.30

23.11.30 #6

Workflow file for this run

name: Upload Python Package
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Install project
run: |
python -m pip install -e ".[dev]"
- name: Build and publish
env:
FLIT_USERNAME: "__token__"
FLIT_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python -m flit publish