diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e4c5753..e1f77b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,7 +63,6 @@ jobs: with: files: "artifacts/**/*.xml" - release: name: Release new version runs-on: ubuntu-latest @@ -80,15 +79,14 @@ jobs: with: fetch-depth: 0 + - uses: pdm-project/setup-pdm@v4 + - name: Python Semantic Release id: release uses: python-semantic-release/python-semantic-release@v9.4.2 with: github_token: ${{ secrets.GITHUB_TOKEN }} - - uses: pdm-project/setup-pdm@v4 - if: steps.release.outputs.released == 'true' - - name: Publish package distributions to PyPI id: pypi-publish if: steps.release.outputs.released == 'true'