Skip to content

Commit

Permalink
Use lts-18.7
Browse files Browse the repository at this point in the history
Modify stack LTS version to 18.7 in Windows build and Nix build.
  • Loading branch information
8c6794b6 committed Sep 10, 2021
1 parent 5e4ca4e commit dd55ad7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- os: macos-latest
resolver: lts-18
- os: windows-latest
resolver: lts-18.6
resolver: lts-18

env:
STACK: stack --resolver=${{ matrix.resolver }}
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
# - nixpkgs: "channel:nixos-20.09"
# compiler: "ghc884"
- nixpkgs: "channel:nixos-unstable"
compiler: "ghc8106"
compiler: "ghc8107"
# - nixpkgs: "channel:nixos-unstable"
# compiler: "ghc901"

Expand All @@ -245,13 +245,13 @@ jobs:
run: nix-build --argstr compiler ${{ matrix.compiler }}

- name: Build container image stream
if: matrix.compiler == 'ghc8106' && github.ref == 'refs/heads/master'
if: matrix.compiler == 'ghc8107' && github.ref == 'refs/heads/master'
run: |
nix-build --argstr compiler ${{ matrix.compiler }} ./nix/docker.nix
echo "image_stream=$(readlink result)" >> $GITHUB_ENV
- name: Push image to ghcr.io
if: matrix.compiler == 'ghc8106' && github.ref == 'refs/heads/master'
if: matrix.compiler == 'ghc8107' && github.ref == 'refs/heads/master'
env:
CRED: ${{ secrets.GHCR_USER }}:${{ secrets.GHCR_PAT }}
FROM: docker-archive:/dev/stdin
Expand Down

0 comments on commit dd55ad7

Please sign in to comment.