From c8fec31c525c548e1f6e131b70d17ad847e49278 Mon Sep 17 00:00:00 2001 From: JonJagger Date: Wed, 16 Oct 2024 10:43:34 +0100 Subject: [PATCH] Try reworking dry-run --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5555f03..000c397 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,14 +41,14 @@ jobs: exit 0 - name: Setup Kosli cli - if: ${{ github.ref }}" == 'refs/heads/main' && (success() || failure()) + if: "${{ github.ref }}" == 'refs/heads/main' && (success() || failure()) uses: kosli-dev/setup-cli-action@v2 with: version: ${{ env.KOSLI_CLI_VERSION }} - name: When on master, attest result to Kosli - if: ${{ github.ref }}" == 'refs/heads/main' && (success() || failure()) + if: "${{ github.ref }}" == 'refs/heads/main' && (success() || failure()) run: | echo "KOSLI_DRY_RUN=:${KOSLI_DRY_RUN}:" KOSLI_COMPLIANT=$([ "${{ steps.wibble.outcome }}" == 'success' ] && echo true || echo false)