Skip to content

Commit 2ee0b73

Browse files
install mdbook-pandoc dependencies in create-translation
This needs to be refactored later
1 parent c8ab2ce commit 2ee0b73

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/publish.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
sudo apt install gettext
3333
3434
- name: Install mdbook
35-
uses: ./.github/workflows/install-mdbook
35+
uses: cargo xtask install-tools
3636

3737
- name: Upload pre-built-tools for the next tasks
3838
uses: actions/upload-artifact@v4
@@ -94,6 +94,14 @@ jobs:
9494
- name: Make all downloaded tools executable
9595
run: chmod +x /home/runner/.cargo/bin/*
9696

97+
- name: Install dependencies for mdbook-pandoc
98+
run: |
99+
sudo apt-get update
100+
sudo apt-get install -y texlive texlive-luatex texlive-lang-cjk texlive-lang-arabic librsvg2-bin fonts-noto
101+
curl -LsSf https://github.com/jgm/pandoc/releases/download/3.7.0.1/pandoc-3.7.0.1-linux-amd64.tar.gz | tar zxf -
102+
echo "$PWD/pandoc-3.7.0.1/bin" >> $GITHUB_PATH
103+
shell: bash
104+
97105
- name: Build course in English
98106
if: matrix.language == 'en'
99107
run: .github/workflows/build.sh en book

0 commit comments

Comments
 (0)