From 109b6082d4ccea9ac0dbb0049a96346acb554155 Mon Sep 17 00:00:00 2001 From: Roshin Rajan Panackal Date: Fri, 15 May 2026 15:23:39 +0200 Subject: [PATCH 1/2] Run compile and test independent --- .github/workflows/spec-update.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/spec-update.yaml b/.github/workflows/spec-update.yaml index 57a2f8314..22aa88cd7 100644 --- a/.github/workflows/spec-update.yaml +++ b/.github/workflows/spec-update.yaml @@ -273,9 +273,6 @@ jobs: echo "api_compat_result=compatible" >> "$GITHUB_OUTPUT" else echo "api_compat_result=incompatible" >> "$GITHUB_OUTPUT" - echo "## ❌ API Compatibility: Breaking changes detected" >> $GITHUB_STEP_SUMMARY - echo "Download the **japicmp-report** artifact for details." >> $GITHUB_STEP_SUMMARY - exit 1 fi - name: 'Upload japicmp report' @@ -386,6 +383,12 @@ jobs: echo "Client generation failed. Please check the Generate step logs for details." exit 1 + - name: 'Fail if API incompatible' + if: steps.api_compat.outputs.api_compat_result == 'incompatible' + run: | + echo "API compatibility check detected breaking changes. Download the japicmp-report artifact for details." + exit 1 + - name: 'Fail if no spec changes and previous run failed' if: steps.spec_diff.outputs.prev_run_success == 'false' && github.event.inputs.is-weekly != 'true' run: | From 3c2988021cf826b4e096446cbe5a7d542adc52e4 Mon Sep 17 00:00:00 2001 From: Roshin Rajan Panackal <36329474+rpanackal@users.noreply.github.com> Date: Tue, 26 May 2026 11:00:41 +0200 Subject: [PATCH 2/2] Update .github/workflows/spec-update.yaml Co-authored-by: Jonas-Isr --- .github/workflows/spec-update.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/spec-update.yaml b/.github/workflows/spec-update.yaml index 22aa88cd7..70da20ff0 100644 --- a/.github/workflows/spec-update.yaml +++ b/.github/workflows/spec-update.yaml @@ -386,7 +386,7 @@ jobs: - name: 'Fail if API incompatible' if: steps.api_compat.outputs.api_compat_result == 'incompatible' run: | - echo "API compatibility check detected breaking changes. Download the japicmp-report artifact for details." + echo "API compatibility check detected breaking changes. Check the japicmp-report artifact in the workflow run summary for details." exit 1 - name: 'Fail if no spec changes and previous run failed'