Skip to content

Commit

Permalink
ci: fix installation of pandoc by adding sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
leoli0605 committed Feb 21, 2024
1 parent 75153ce commit 1f111c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: |
LATEST_RELEASE_URL=$(curl -s https://api.github.com/repos/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 && \
sudo tar -xvzf pandoc.tar.gz --strip-components 1 -C /usr/local && \
rm pandoc.tar.gz && \
pandoc --version
Expand Down

0 comments on commit 1f111c9

Please sign in to comment.