From 14a95ecdac903753bb080e50fe52af87a5e561f0 Mon Sep 17 00:00:00 2001
From: Pavel Vetokhin
Date: Sat, 16 Sep 2023 21:45:14 +0300
Subject: [PATCH] Check outcome
---
.github/workflows/solution-sanity.yml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/solution-sanity.yml b/.github/workflows/solution-sanity.yml
index 3882769d..c98dccc9 100644
--- a/.github/workflows/solution-sanity.yml
+++ b/.github/workflows/solution-sanity.yml
@@ -31,7 +31,8 @@ jobs:
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- - run: >
+ - id: binaries
+ run: >
ansible-playbook binaries.yml
-e binary_repo=maven.pkg.github.com
-e focus=solution
@@ -43,7 +44,7 @@ jobs:
if: ${{ !cancelled() }}
with:
check_name: Unit Test Report
- require_tests: "${{ !success() }}"
+ require_tests: "${{ steps.binaries.outcome != 'success' }}"
fail_on_failure: true
job_summary: false
report_paths: |