From 73621514f9fbbdfb2b6324006fe2c58885e66d38 Mon Sep 17 00:00:00 2001 From: jcant0n Date: Thu, 5 Nov 2026 00:05:15 +0100 Subject: [PATCH] fix(ci): publish even when the natives job was skipped --- .github/workflows/CD.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 42531a7..9733e63 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -88,7 +88,9 @@ jobs: # and it has to belong to this repository, so the push cannot happen inside the reusable workflow. publish: needs: cd - if: needs.cd.outputs.publish == 'true' + # cd runs even when natives is skipped; without a status function here the skipped + # natives job would skip this one too. + if: ${{ !cancelled() && needs.cd.result == 'success' && needs.cd.outputs.publish == 'true' }} runs-on: ubuntu-latest permissions: id-token: write