summaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-10-07 02:50:20 +0800
committer简律纯 <i@jyunko.cn>2023-10-07 02:50:20 +0800
commitfd1f123d531e25ac066dae6a1ea8dc19fd1c0964 (patch)
treea7b1247b880af207a4aff71ae377e8a46f155d93 /.github/workflows
parent6a63a90d8e5831e97b02cec4b67a6fb72285a2bb (diff)
downloadinfini-fd1f123d531e25ac066dae6a1ea8dc19fd1c0964.tar.gz
infini-fd1f123d531e25ac066dae6a1ea8dc19fd1c0964.zip
feat: BREAKING CHANGES
Co-authored-by: 白咕咕 <baimianxiao@users.noreply.github.com> Co-authored-by: kenichiLyon <kenichiLyon@users.noreply.github.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/python-publish.yml15
1 files changed, 6 insertions, 9 deletions
diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml
index 0291fea4..701fc44e 100644
--- a/.github/workflows/python-publish.yml
+++ b/.github/workflows/python-publish.yml
@@ -10,22 +10,19 @@ jobs:
steps:
- uses: actions/checkout@v3
- - name: Install poetry
+ - name: Install pdm
run: |
- pipx install poetry
+ pipx install pdm
shell: bash
- uses: actions/setup-python@v4
with:
python-version: "3.9"
architecture: "x64"
- cache: "poetry"
- run: |
- poetry install
+ pdm install
shell: bash
- - run: poetry config pypi-token.pypi "$PYPI_TOKEN"
+ - run: pdm publish
shell: bash
env:
- PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
- - run: |
- poetry publish --build
- shell: bash
+ PDM_PUBLISH_PASSWORD: ${{ secrets.PDM_PUBLISH_PASSWORD }}
+ PDM_PUBLISH_USERNAME: ${{ secrets.PDM_PUBLISH_USERNAME }} \ No newline at end of file