Skip to content

Commit

Permalink
2024年6月7日 更新一下06
Browse files Browse the repository at this point in the history
  • Loading branch information
ss1917 committed Jun 7, 2024
1 parent 396ecad commit 041f9a9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- main
# schedule:
# - cron: '0 4 */1 * *'

jobs:
build:
name: Publish Python 🐍 distributions 📦 to PyPI
Expand All @@ -21,20 +24,15 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install setuptools wheel twine build
- name: Build distributions
run: |
python setup.py sdist bdist_wheel
python -m build
- name: Publish distribution 📦 to PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.pypi_password }}
# repository_url: https://pypi.org/legacy/





3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"

0 comments on commit 041f9a9

Please sign in to comment.