Skip to content

Commit

Permalink
ci: fix steps order
Browse files Browse the repository at this point in the history
  • Loading branch information
cachitas authored Apr 18, 2024
1 parent e2d9c2b commit 7c408eb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ jobs:
with:
files: "artifacts/**/*.xml"


release:
name: Release new version
runs-on: ubuntu-latest
Expand All @@ -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/[email protected]
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'
Expand Down

0 comments on commit 7c408eb

Please sign in to comment.