Get rid of ghc/cabal matrix
This commit is contained in:
		
							parent
							
								
									05ee7b315a
								
							
						
					
					
						commit
						d543d92535
					
				
					 1 changed files with 4 additions and 7 deletions
				
			
		
							
								
								
									
										11
									
								
								.github/workflows/release.yaml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										11
									
								
								.github/workflows/release.yaml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -52,15 +52,12 @@ jobs:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  build_artifact:
 | 
					  build_artifact:
 | 
				
			||||||
    needs: [create_release]
 | 
					    needs: [create_release]
 | 
				
			||||||
    name: ${{ matrix.os }}/GHC ${{ matrix.ghc }}/${{ github.ref }}
 | 
					    name: ${{ matrix.os }}/${{ github.ref }}
 | 
				
			||||||
    runs-on: ${{ matrix.os }}
 | 
					    runs-on: ${{ matrix.os }}
 | 
				
			||||||
    strategy:
 | 
					    strategy:
 | 
				
			||||||
      fail-fast: true
 | 
					      fail-fast: true
 | 
				
			||||||
      matrix:
 | 
					      matrix:
 | 
				
			||||||
        os: [ubuntu-latest, macOS-latest, windows-latest]
 | 
					        os: [ubuntu-latest, macOS-latest, windows-latest]
 | 
				
			||||||
        ghc:
 | 
					 | 
				
			||||||
          - "9.6.3"
 | 
					 | 
				
			||||||
        cabal: ["3.8"]
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Check out code
 | 
					      - name: Check out code
 | 
				
			||||||
| 
						 | 
					@ -77,8 +74,8 @@ jobs:
 | 
				
			||||||
        uses: haskell/actions/setup@v2.4.7
 | 
					        uses: haskell/actions/setup@v2.4.7
 | 
				
			||||||
        id: setup-haskell-cabal
 | 
					        id: setup-haskell-cabal
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          ghc-version: ${{ matrix.ghc }}
 | 
					          ghc-version: "latest"
 | 
				
			||||||
          cabal-version: ${{ matrix.cabal }}
 | 
					          cabal-version: "latest"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Freeze
 | 
					      - name: Freeze
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
| 
						 | 
					@ -88,7 +85,7 @@ jobs:
 | 
				
			||||||
        uses: actions/cache@v4
 | 
					        uses: actions/cache@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
 | 
					          path: ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
 | 
				
			||||||
          key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
 | 
					          key: ${{ runner.os }}-${{ hashFiles('cabal.project.freeze') }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Build binary
 | 
					      - name: Build binary
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue