Skip to content

Commit

Permalink
fix: matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Jan 22, 2024
1 parent 029a410 commit 52ae72b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- macOS-latest
- windows-latest

include:
stack:
- resolver: nightly
ghc: "9.8.1"
- resolver: lts-22.7
Expand All @@ -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 }}" ]]
Expand Down

0 comments on commit 52ae72b

Please sign in to comment.