Skip to content

✨ feat: 修复字符串格式化报错 #11

✨ feat: 修复字符串格式化报错

✨ feat: 修复字符串格式化报错 #11

Workflow file for this run

# 推送到pypi
name: release_to pypi
on:
push:
tags:
- v*
jobs:
release_to:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*