mirror of
https://github.com/Shu-Ying/main_plugin_farm.git
synced 2026-10-29 21:59:58 +08:00
fixed # 修复部分工作流BUG
This commit is contained in:
@@ -31,12 +31,12 @@ jobs:
|
||||
raise SystemExit('Tag differs from version.txt')
|
||||
PY
|
||||
- run: python -m pip install build twine
|
||||
- run: python -m build --sdist --wheel --outdir ../packages
|
||||
- run: python -m twine check ../packages/*
|
||||
- run: python -m build --sdist --wheel --outdir dist
|
||||
- run: python -m twine check dist/*
|
||||
- uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: pypi-distributions
|
||||
path: ../packages/*
|
||||
path: dist/*
|
||||
if-no-files-found: error
|
||||
publish:
|
||||
needs: build
|
||||
|
||||
@@ -18,9 +18,9 @@ jobs:
|
||||
python-version: '3.10'
|
||||
- run: python verify_package.py --directory .
|
||||
- run: python -m pip install build
|
||||
- run: python -m build --sdist --wheel --outdir ../packages
|
||||
- run: python -m build --sdist --wheel --outdir dist
|
||||
- uses: actions/upload-artifact@v7
|
||||
with:
|
||||
name: nonebot-distributions
|
||||
path: ../packages/*
|
||||
path: dist/*
|
||||
if-no-files-found: error
|
||||
|
||||
Reference in New Issue
Block a user