From 0db6dd9789517573c39047f3bfa0833613c0e905 Mon Sep 17 00:00:00 2001 From: Leonhard Riedisser Date: Thu, 13 Jun 2024 16:44:36 +0200 Subject: [PATCH] Inline GHC version and stack version from CI matrix --- .github/workflows/release.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b18bb12..16a107d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,15 +34,12 @@ jobs: build_artifact: needs: [create_release] - name: ${{ matrix.os }}/GHC ${{ matrix.ghc }}/${{ github.ref }} + name: ${{ matrix.os }}/GHC 9.6.5/${{ github.ref }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: os: [ubuntu-latest, macOS-latest, windows-latest] - ghc: - - "9.6.5" - stack: ["2.15.7"] steps: - name: Check out code @@ -59,17 +56,17 @@ jobs: uses: haskell-actions/setup@v2.7.3 id: setup-haskell-cabal with: - ghc-version: ${{ matrix.ghc }} + ghc-version: 9.6.5 enable-stack: true - stack-version: ${{ matrix.cabal }} + stack-version: 2.15.7 - name: Cache ~/.stack uses: actions/cache@v4 with: path: ~/.stack - key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('**/stack.yaml.lock','**/gitlab-helper.cabal') }}-v2 + key: ${{ runner.os }}-9.6.5-${{ hashFiles('**/stack.yaml.lock','**/gitlab-helper.cabal') }}-v2 restore-keys: | - ${{ runner.os }}-${{ matrix.ghc }}- + ${{ runner.os }}-9.6.5- - name: Build binary run: |