From 225945d6a47625f203b169e9bc4febc3385be3ba Mon Sep 17 00:00:00 2001 From: Loic Coyle Date: Wed, 3 Jul 2024 01:47:41 +0200 Subject: [PATCH] ci: fix pypi release Revert "ci: fix pypi release" This reverts commit 8b3eb9cb2846ec55a2aa77af3b2a2a2bcac2ae18. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index edfb7e9..2654d9e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,7 @@ jobs: publish: name: Publish to pypi needs: tests - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + if: jobs.release.steps.release_created runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -81,7 +81,7 @@ jobs: trigger_image_build: name: Trigger tinyticker disk image build needs: publish - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + if: github.event_name == 'push' runs-on: ubuntu-latest steps: - name: Workflow dispatch