Skip to content

Commit

Permalink
Try installing ghc multiple times
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed May 22, 2024
1 parent 2b7d42e commit 161193d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up GHC 8.10.7 for scripts
uses: haskell-actions/setup@v2
id: setup
with:
ghc-version: "8.10.7"

- name: Set up GHC and cabal-install
uses: haskell-actions/setup@v2
id: setup
Expand Down
10 changes: 5 additions & 5 deletions project-files.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ CABAL_VIA ?= dhall2cabal
SHA256MAP_VIA_PYTHON ?= false

# To use installed executables instead of *.hs scripts, set these to true.
SHA256MAP_HS_EXE ?= true
PKG_GROUPS_HS_EXE ?= true
PKGS_SORTED_HS_EXE ?= true
PKGS_UPGRADE_DONE_HS_EXE ?= true
SHA256MAP_HS_EXE ?= false
PKG_GROUPS_HS_EXE ?= false
PKGS_SORTED_HS_EXE ?= false
PKGS_UPGRADE_DONE_HS_EXE ?= false

include project-versions.mk
include updo/Makefile
Expand Down Expand Up @@ -53,4 +53,4 @@ updo/Makefile:
rm -rf updo
curl -sSL ${UPDO_URL} | tar -xz
mv updo-* updo
cabal install updo:exes --overwrite-policy=always --project-file=updo.project --with-compiler=ghc-$(GHC_VERSION)
chmod +x $$(grep -RIl '^#!' updo)

0 comments on commit 161193d

Please sign in to comment.