From ea9089606166808fd48ba636172a811340d034e3 Mon Sep 17 00:00:00 2001 From: Zane Schepke Date: Thu, 23 Oct 2025 00:33:47 -0400 Subject: [PATCH] ci: optimize nightly ci --- .github/workflows/nightly.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 877fb718..8330bb6f 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -26,6 +26,9 @@ jobs: echo "new_commits=$NEW_COMMITS" >> $GITHUB_OUTPUT build-standalone-nightly: + needs: + - check_commits + if: ${{ needs.check_commits.outputs.has_new_commits > 0 && inputs.release_type != 'none' }} uses: ./.github/workflows/build.yml secrets: inherit with: @@ -34,7 +37,6 @@ jobs: publish: needs: - - check_commits - build-standalone-nightly if: ${{ needs.check_commits.outputs.has_new_commits > 0 && inputs.release_type != 'none' }} name: publish-nightly