Skip to content

Commit 82789f9

Browse files
committed
update pandoc/latex container version
1 parent 502bb53 commit 82789f9

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.github/workflows/GHPages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v4
1212
- uses: actions/setup-node@v4
13-
- uses: docker://pandoc/latex:2.9
13+
- uses: docker://pandoc/latex:3.6
1414
with:
1515
args: |
1616
sh build-resources-with-pandoc.sh

.github/workflows/test-build-resources-with-pandoc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616
- uses: actions/setup-node@v4
17-
- uses: docker://pandoc/latex:2.9
17+
- uses: docker://pandoc/latex:3.6
1818
with:
1919
args: sh build-resources-with-pandoc.sh
2020
- name: Archive resources

build-resources-with-pandoc.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ CSS_PATH="${ROOT_DIR}/documents/common/pandoc_styles/css/style.css"
33
STYLE_DOCX_PATH="${ROOT_DIR}/documents/common/pandoc_styles/スタイル.docx"
44
RESOURCES_DIR="${ROOT_DIR}/public/resources"
55

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

1113
# Java
1214
cd ${ROOT_DIR}/documents/forJava

0 commit comments

Comments
 (0)