From 52ae72b0f83365d8d9cdb13eef3082f8c20e7535 Mon Sep 17 00:00:00 2001 From: Danila Danko Date: Tue, 23 Jan 2024 00:35:49 +0300 Subject: [PATCH] fix: matrix --- .github/workflows/example.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/example.yml b/.github/workflows/example.yml index c35c56a..9865781 100644 --- a/.github/workflows/example.yml +++ b/.github/workflows/example.yml @@ -22,7 +22,7 @@ jobs: - macOS-latest - windows-latest - include: + stack: - resolver: nightly ghc: "9.8.1" - resolver: lts-22.7 @@ -48,13 +48,13 @@ jobs: uses: ./ with: working-directory: example - stack-arguments: --resolver ${{ matrix.resolver }} - cache-prefix: ${{ matrix.resolver }}/ + stack-arguments: --resolver ${{ matrix.stack.resolver }} + cache-prefix: ${{ matrix.stack.resolver }}/ - shell: bash run: | - [[ "${{ steps.stack.outputs.compiler }}" = ${{ format('ghc-{0}', matrix.ghc) }} ]] - [[ "${{ steps.stack.outputs.compiler-version }}" = ${{ matrix.ghc }} ]] + [[ "${{ steps.stack.outputs.compiler }}" = ${{ format('ghc-{0}', matrix.stack.ghc) }} ]] + [[ "${{ steps.stack.outputs.compiler-version }}" = ${{ matrix.stack.ghc }} ]] # stack path | cut -d: -f1 [[ -n "${{ steps.stack.outputs.snapshot-doc-root }}" ]]