Skip to content

Commit

Permalink
fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-mue committed Jun 22, 2024
1 parent bcdad1d commit c17f237
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
release-type: python

build:
if: ${{ jobs.release-please.outputs.release_created }}
if: ${{ needs.release-please.outputs.release_created }}
needs: release-please
runs-on: ubuntu-latest
steps:
Expand All @@ -40,8 +40,8 @@ jobs:
path: dist/

test-pypi-publish:
if: ${{ jobs.release-please.outputs.release_created }}
needs: build
if: ${{ needs.release-please.outputs.release_created }}
needs: [release-please, build]
runs-on: ubuntu-latest
environment:
name: test-pypi
Expand All @@ -58,8 +58,8 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1

pypi-publish:
if: ${{ jobs.release-please.outputs.release_created }}
needs: test-pypi-publish
if: ${{ needs.release-please.outputs.release_created }}
needs: [release-please, test-pypi-publish]
runs-on: ubuntu-latest
environment:
name: pypi
Expand Down

0 comments on commit c17f237

Please sign in to comment.