From 0c43a7cb2b0ff6fbf78ee9dd2a624ab43f6d6972 Mon Sep 17 00:00:00 2001 From: janezlapajne Date: Sun, 30 Jun 2024 22:40:11 +0200 Subject: [PATCH] ci: fix publish.yml name and previous version of pdm setup action --- .github/workflows/publish.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ac119d7..a588203 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,4 @@ -name: Publish To The Python Package Index (PyPI) +name: Publish To PyPI on: # workflow_run: @@ -14,14 +14,15 @@ on: jobs: pypi-publish: - name: upload release to PyPI + name: Upload release to PyPI runs-on: ubuntu-latest permissions: contents: read id-token: write steps: - - uses: actions/checkout@v4 - - name: Setup PDM - uses: pdm-project/setup-pdm@v4 + - uses: actions/checkout@v3 + - uses: pdm-project/setup-pdm@v3 + with: + version: "head" - name: Publish package distributions to PyPI run: pdm publish