Skip to content

Commit

Permalink
ci: fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cachitas committed Apr 18, 2024
1 parent 2978495 commit 117075e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: pytest-results-${{ matrix.python-version }}
path: test-results-${{ matrix.python-version }}.xml
path: junit/test-results-${{ matrix.python-version }}.xml
if: ${{ always() }}

release:
Expand All @@ -65,12 +65,11 @@ jobs:
uses: python-semantic-release/python-semantic-release@v9.4.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
root_options: "-vv"

- uses: pdm-project/setup-pdm@v4
if: steps.release.outputs.released
if: steps.release.outputs.released == 'true'

- name: Publish package distributions to PyPI
id: pypi-publish
if: steps.release.outputs.released
if: steps.release.outputs.released == 'true'
run: pdm publish

0 comments on commit 117075e

Please sign in to comment.