From 1e3c69ea90daf6e0146abc5307485abb61645949 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B6=B5=E6=9B=A6?= Date: Mon, 2 Sep 2024 09:09:49 +0800 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7dc4690..b0eaf0a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,11 +21,6 @@ jobs: with: fetch-depth: 0 - - uses: pdm-project/setup-pdm@v3 - - - name: Publish package distributions to PyPI - run: pdm publish - - uses: actions/setup-node@v3 with: node-version: 16.x @@ -35,6 +30,11 @@ jobs: env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + - uses: pdm-project/setup-pdm@v3 + + - name: Publish package distributions to PyPI + run: pdm publish + build-image: runs-on: ubuntu-latest #needs: release-pypi