Skip to content

Commit 20d4a99

Browse files
committed
use haskell stack instead
1 parent 65eb5f5 commit 20d4a99

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/build-site.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: make bin directory
1919
run: mkdir -p /tmp/bin
2020
- name: install pandoc
21-
run: stack install pandoc --resolver lts-8.10 --local-bin-path=/tmp/bin
21+
run: stack install pandoc==3.1.12.3 --resolver lts-17.8 --local-bin-path=/tmp/bin
2222
- name: checkout code
2323
uses: actions/checkout@v2.3.1
2424
- name: build the site
@@ -42,11 +42,13 @@ jobs:
4242
- name: update package database
4343
run: sudo apt-get update
4444
- name: install required packages
45-
run: sudo apt-get install ghc=8.8.4-3 cabal-install minify php php-curl yui-compressor
46-
- name: update cabal
47-
run: cabal update
45+
run: sudo apt-get install haskell-stack php php-curl minify yui-compressor
46+
- name: stack update
47+
run: stack update
48+
- name: make bin directory
49+
run: mkdir -p /tmp/bin
4850
- name: install pandoc
49-
run: cabal install pandoc pandoc-cli --installdir=/tmp/bin
51+
run: stack install pandoc==3.1.12.3 --resolver lts-17.8 --local-bin-path=/tmp/bin
5052
- name: checkout code
5153
uses: actions/checkout@v2.3.1
5254
- name: build the site

0 commit comments

Comments
 (0)