Skip to content

Commit 7197673

Browse files
committed
[ci] Fix manpage
1 parent 8cfdbb2 commit 7197673

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/haskell.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ jobs:
6161
mkdir pandoc-crossref-${{runner.os}}
6262
export GIT_DIR="$PWD/.git"
6363
cabal v2-install --installdir=$PWD/pandoc-crossref-${{runner.os}}
64-
- name: Make manpage
65-
if: runner.os == 'Linux'
66-
run: |
67-
cabal v2-install --installdir="$HOME" pandoc-cli
68-
"$HOME/pandoc" -s -t man docs/index.md -o pandoc-crossref-${{runner.os}}/pandoc-crossref.1
6964
- name: Get Version
7065
shell: bash
7166
id: get_version
@@ -113,6 +108,9 @@ jobs:
113108
- run: nix run .#test
114109
- run: nix run .#test-integrative
115110
- run: nix develop -c echo ok
111+
- name: Make manpage
112+
run: |
113+
nix develop -c pandoc -s -t man docs/index.md -o pandoc-crossref-${{runner.os}}/pandoc-crossref.1
116114
- name: Get Version
117115
shell: bash
118116
id: get_version

0 commit comments

Comments
 (0)