From f86de6398aa0e0fc1cf264a22127336b63cb1753 Mon Sep 17 00:00:00 2001 From: Trezy Date: Tue, 12 May 2026 23:31:14 -0500 Subject: [PATCH] fix: build SDKs even if base client has no changes Signed-off-by: Trezy --- .github/workflows/ci.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 306b886..637a157 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -333,8 +333,11 @@ jobs: release-oauth-client-browser: if: >- - (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev') + always() + && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev') && needs.changes.outputs.oauth-client-browser == 'true' + && needs.test-oauth-client-browser.result == 'success' + && (needs.release-oauth-client.result == 'success' || needs.changes.outputs.oauth-client != 'true') needs: [changes, test-oauth-client-browser, release-oauth-client] runs-on: depot-ubuntu-24.04 permissions: @@ -388,8 +391,11 @@ jobs: release-oauth-client-node: if: >- - (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev') + always() + && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev') && needs.changes.outputs.oauth-client-node == 'true' + && needs.test-oauth-client-node.result == 'success' + && (needs.release-oauth-client.result == 'success' || needs.changes.outputs.oauth-client != 'true') needs: [changes, test-oauth-client-node, release-oauth-client] runs-on: depot-ubuntu-24.04 permissions: @@ -443,8 +449,11 @@ jobs: release-lex-agent: if: >- - (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev') + always() + && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev') && needs.changes.outputs.lex-agent == 'true' + && needs.test-lex-agent.result == 'success' + && (needs.release-oauth-client.result == 'success' || needs.changes.outputs.oauth-client != 'true') needs: [changes, test-lex-agent, release-oauth-client] runs-on: depot-ubuntu-24.04 permissions: -- 2.51.2