Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Python package

Python package #1

Workflow file for this run

name: Python package
on:
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v3
name: Ensure Python Runtime
with:
python-version: '3.x'
architecture: 'x64'
- name: Ensure PDM & twine
run: |
python3 -m pip install pdm twine
- name: Build Package
run: |
pdm build
- name: Publish to PyPI
run: |
twine upload dist/* --non-interactive -u __token__ -p ${{ secrets.PYPI_TOKEN }}