fix: creart.it, 0.23.3 #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python package | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
workflow_dispatch: | |
jobs: | |
build: | |
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 }} |