Skip to content

Commit

Permalink
2024年6月7日 更新一下04
Browse files Browse the repository at this point in the history
  • Loading branch information
ss1917 committed Jun 7, 2024
1 parent 64978aa commit f37b83c
Showing 1 changed file with 5 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,20 +4,17 @@ on:
push:
branches:
- main
# schedule:
# - cron: '0 4 */1 * *'

jobs:
build:
name: Publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
fetch-depth: 1

- name: Set up Python 3.9
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9

Expand All @@ -31,12 +28,13 @@ jobs:
python setup.py sdist bdist_wheel
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@main
uses: pypa/gh-action-pypi-publish@v1.4.2
with:
user: __token__
password: ${{ secrets.pypi_password }}
# repository_url: https://pypi.org/legacy/





0 comments on commit f37b83c

Please sign in to comment.