Skip to content

2024年6月7日 更新一下01 #84

2024年6月7日 更新一下01

2024年6月7日 更新一下01 #84

Workflow file for this run

name: Publish Python 🐍 distributions 📦 to PyPI
on:
push:
# schedule:
# - cron: '0 4 */1 * *'
jobs:
build:
name: Publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install twine
run: >-
python -m
pip install
twine
--user
- name: Build a binary wheel and a source tarball
run: >-
python setup.py sdist
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@v2
with:
user: __token__
password: ${{ secrets.pypi_password }}
# repository_url: https://pypi.org/legacy/