Skip to content

refactor: 调整 reanalysis_time 不为正数的逻辑 #53

refactor: 调整 reanalysis_time 不为正数的逻辑

refactor: 调整 reanalysis_time 不为正数的逻辑 #53

Workflow file for this run

name: Upload Python Package
on:
push:
paths:
- "pyproject.toml"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@master
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install nonebot2 aiohttp poetry
- name: Build package
run: poetry build
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}