Skip to content

Commit

Permalink
update pandoc/latex container version
Browse files Browse the repository at this point in the history
  • Loading branch information
ma91n committed Dec 25, 2024
1 parent 502bb53 commit 82789f9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/GHPages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: docker://pandoc/latex:2.9
- uses: docker://pandoc/latex:3.6
with:
args: |
sh build-resources-with-pandoc.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-build-resources-with-pandoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: docker://pandoc/latex:2.9
- uses: docker://pandoc/latex:3.6
with:
args: sh build-resources-with-pandoc.sh
- name: Archive resources
Expand Down
10 changes: 6 additions & 4 deletions build-resources-with-pandoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ CSS_PATH="${ROOT_DIR}/documents/common/pandoc_styles/css/style.css"
STYLE_DOCX_PATH="${ROOT_DIR}/documents/common/pandoc_styles/スタイル.docx"
RESOURCES_DIR="${ROOT_DIR}/public/resources"

apt update
apt install -y nodejs npm
npm config set puppeteer_skip_chromium_download true -g
npm install -g mermaid-filter
# Install pandoc mermaid-filter via npm
# https://github.com/raghur/mermaid-filter?tab=readme-ov-file#installation-and-usage
apk update
apk add -y --no-cache nodejs npm
export puppeteer_skip_chromium_download=true
npm i -g mermaid-filter

# Java
cd ${ROOT_DIR}/documents/forJava
Expand Down

0 comments on commit 82789f9

Please sign in to comment.