From 20e157e252b4d20a80e2210f1b7515cc09a7385d Mon Sep 17 00:00:00 2001 From: Danila Danko Date: Fri, 2 Feb 2024 12:31:58 +0300 Subject: [PATCH] refactor: add step names in the example action --- .github/workflows/example.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index f448398..0933654 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -51,13 +51,15 @@ jobs: stack-arguments: --resolver ${{ matrix.stack.resolver }} cache-prefix: ${{ matrix.stack.resolver }}/ - - if: matrix.stack.ghc + - name: Check compiler[-*] outputs + if: matrix.stack.ghc shell: bash run: | [[ "${{ steps.stack.outputs.compiler }}" = ghc-${{ matrix.stack.ghc }} ]] [[ "${{ steps.stack.outputs.compiler-version }}" = ${{ matrix.stack.ghc }} ]] - - shell: bash + - name: Check presence of other outputs + shell: bash run: | # stack path | cut -d: -f1 [[ -n "${{ steps.stack.outputs.snapshot-doc-root }}" ]]