From c17f237775af4e493a60ed2e5b94126ee8b94180 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=BCller?= Date: Sat, 22 Jun 2024 20:45:32 +0200 Subject: [PATCH] fix release action --- .github/workflows/release-please.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 503b8c4..9f303d1 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -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: @@ -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 @@ -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