Skip to content

Commit 5f6d7de

Browse files
committed
Fix CI: use pandoc directly instead of docker
1 parent 7075749 commit 5f6d7de

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/md-to-pdf.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@ jobs:
1212
run: |
1313
echo "files=$(printf '\"%s\" ' *.md | sed 's/ \"sidebar\.md\"/ /' | sed 's/ \"overview\.md\"/ /' && printf '\"%s\" ' extensions/*.md)" > $GITHUB_OUTPUT
1414
mkdir output
15-
- uses: docker://pandoc/extra:latest-ubuntu
16-
with:
17-
args: >-
15+
- name: Installing Dependencies
16+
run: |
17+
sudo apt-get update -qq
18+
sudo apt-get install -y pandoc
19+
- name: Running Pandoc
20+
run: |
21+
pandoc
1822
--output=output/aseprite-docs.pdf "overview.md" ${{ steps.files_list.outputs.files }}
1923
--pdf-engine=lualatex
2024
-f markdown_github
@@ -30,7 +34,7 @@ jobs:
3034
-V colorlinks
3135
-V urlcolor=NavyBlue
3236
-V geometry:"top=2cm, bottom=1.5cm, left=2cm, right=2cm"
33-
- uses: actions/upload-artifact@master
37+
- uses: actions/upload-artifact@v4
3438
with:
3539
name: aseprite-docs
3640
path: output/aseprite-docs.pdf

0 commit comments

Comments
 (0)