From ce1382d82a95bee3414d51870f515d9d93c7d0ab Mon Sep 17 00:00:00 2001 From: JonJagger Date: Wed, 16 Oct 2024 05:44:49 +0100 Subject: [PATCH] Try step.id.outcome --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1843a4f..ad093d2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -60,6 +60,8 @@ jobs: - name: When on master, attest result to Kosli if: success() || failure() continue-on-error: true + env: + KOSLI_COMPLIANT2: $([ "${{ steps.something.outcome }}" == 'success' ] && echo true || echo false) run: | set +e # Here we do 'kosli attest ..."