Skip to content

Commit

Permalink
ci: tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
stevana committed Nov 3, 2024
1 parent a33e933 commit 5c5c64e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,12 @@ jobs:
with:
ghc-version: ${{ matrix.ghc-version }}
cabal-version: ${{ matrix.cabal-version }}
cabal-update: true
cabal-update: false

- name: Install make (Windows only)
if: ${{ env.platform == 'x86_64-windows' }}
run: |
choco install make
choco install make pkgconfiglite
# Use Alpine container to get static binaries on Linux.
- name: Login to GitHub Container Registry (Linux only)
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ FIND_EXECUTABLE := -executable
endif

ifeq ($(OS),linux)
CABAL := docker run -it --rm --entrypoint=cabal \
CABAL := docker run --rm --entrypoint=cabal \
--volume $(PWD):/mnt \
--volume $(PWD)/.container-cache/cabal-store:/root/.local/state/cabal/store \
--volume $(PWD)/.container-cache/cabal-packages:/root/.cache/cabal/packages \
Expand Down

0 comments on commit 5c5c64e

Please sign in to comment.