From ab761d4b686fc0bc09fe5f5551d7e90ed9b487c8 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 31 Aug 2023 22:02:45 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e162b6a..8761b3a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: release: runs-on: ubuntu-latest - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + if: ${{ github.event_name == 'push' }} && startsWith(github.ref, 'refs/tags/v') && ${{ github.event.workflow_run.conclusion == 'success' }} steps: - uses: actions/checkout@v3