Skip to content

Commit 40b6fe8

Browse files
committed
[CI] Install WeasyPrint from cache
1 parent be495eb commit 40b6fe8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/manual-pdf.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ jobs:
77
- name: Checkout repository
88
uses: actions/checkout@v6
99

10-
- name: Install WeasyPrint
11-
run: |
12-
sudo apt-get update
13-
sudo apt-get install -y weasyprint
10+
- name: Install WeasyPrint (cached)
11+
uses: awalsh128/cache-apt-pkgs-action@v1
12+
with:
13+
packages: weasyprint
14+
version: 1.0
1415

1516
- name: Convert HTML to PDF
1617
run: weasyprint --full-fonts user_guide/index.html koreader_user_guide.pdf

0 commit comments

Comments
 (0)