diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e90da95..20006ef 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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