mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-02-07 05:56:11 +08:00
✨ 更新PyPI发布工作流
This commit is contained in:
parent
13cbf87867
commit
a79bb5cbbe
8
.github/workflows/pypi-publish.yml
vendored
8
.github/workflows/pypi-publish.yml
vendored
@ -13,6 +13,9 @@ jobs:
|
|||||||
pypi-publish:
|
pypi-publish:
|
||||||
name: Upload release to PyPI
|
name: Upload release to PyPI
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
enviroment: release
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
@ -34,7 +37,4 @@ jobs:
|
|||||||
--outdir dist/
|
--outdir dist/
|
||||||
.
|
.
|
||||||
- name: Publish distribution to PyPI
|
- name: Publish distribution to PyPI
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
with:
|
|
||||||
username: __token__
|
|
||||||
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
Loading…
x
Reference in New Issue
Block a user