Skip to content

Commit

Permalink
ci: update docs.yml: Install and configure Pandoc
Browse files Browse the repository at this point in the history
  • Loading branch information
leoli0605 committed Feb 21, 2024
1 parent cdf9c27 commit af323e3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@ jobs:
make \
jq \
unzip \
pandoc \
texlive-latex-base \
texlive-fonts-recommended \
texlive-fonts-extra \
texlive-latex-extra && \
LATEST_RELEASE_URL=$$(curl -s https://github.com/jgm/pandoc/releases/latest | jq -r '.assets[] | select(.name | endswith("-linux-amd64.tar.gz")) | .browser_download_url' | head -n 1); && \
curl -L -o pandoc.tar.gz $$LATEST_RELEASE_URL && \
tar -xvzf pandoc.tar.gz --strip-components 1 -C /usr/local && \
rm pandoc.tar.gz && \
pandoc --version && \
make docs-install
- name: Generate README
Expand Down

0 comments on commit af323e3

Please sign in to comment.