From 6a56fbd206a432b4508b626a10fb603c15922ced Mon Sep 17 00:00:00 2001 From: mahee96 <47920326+mahee96@users.noreply.github.com> Date: Thu, 27 Feb 2025 04:57:34 +0530 Subject: [PATCH] -CI: fix: deploy must run if tests were sccessful or skipped --- .github/workflows/reusable-sidestore-build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reusable-sidestore-build.yml b/.github/workflows/reusable-sidestore-build.yml index f0be4bcb..e323f7ab 100644 --- a/.github/workflows/reusable-sidestore-build.yml +++ b/.github/workflows/reusable-sidestore-build.yml @@ -80,7 +80,8 @@ jobs: secrets: inherit deploy: - needs: [serialize, build, tests-build, tests-run] + needs: [serialize, build, tests-build, tests-run] # Keep tests-run in needs + if: ${{ always() && (needs.tests-run.result == 'skipped' || needs.tests-run.result == 'success') }} uses: ./.github/workflows/sidestore-deploy.yml with: is_beta: ${{ inputs.is_beta }}