Skip to content

Commit 7895fd6

Browse files
authored
update publish.yml to deal with textshaping install issue
1 parent b694bc3 commit 7895fd6

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

β€Ž.github/workflows/publish.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,19 @@ on:
77

88
jobs:
99
build-deploy:
10-
runs-on: ubuntu-latest # GitHub-hosted Ubuntu 24.04
10+
runs-on: ubuntu-latest
1111
permissions:
1212
contents: write
1313

1414
steps:
15-
# 1 ──────────── Check out the repo
1615
- name: Check out repository
1716
uses: actions/checkout@v4
1817

19-
# 2 ──────────── Install the matching version of R
2018
- name: Set up R
2119
uses: r-lib/actions/setup-r@v2
2220
with:
23-
r-version: '4.5.0' # ← matches your lock-file
21+
r-version: '4.5.0'
2422

25-
# 3 ──────────── Install *system* libraries needed by curl, ragg, etc.
2623
- name: Install Linux libraries needed by R packages
2724
run: |
2825
sudo apt-get update
@@ -31,19 +28,21 @@ jobs:
3128
libfontconfig1-dev \
3229
libfreetype6-dev \
3330
libx11-dev \
31+
libharfbuzz-dev \
32+
libfribidi-dev \
33+
libpng-dev \
34+
libtiff5-dev \
35+
libjpeg-dev \
3436
pandoc
3537
36-
# 4 ──────────── Restore the renv library + cache
3738
- name: Install R dependencies via renv
3839
uses: r-lib/actions/setup-renv@v2
3940
with:
40-
cache-version: 2 # bump => new cache under R-4.5
41+
cache-version: 2
4142

42-
# 5 ──────────── Install Quarto CLI
4343
- name: Set up Quarto
4444
uses: quarto-dev/quarto-actions/setup@v2
4545

46-
# 6 ──────────── Render the site and push to gh-pages
4746
- name: Render and Publish
4847
uses: quarto-dev/quarto-actions/publish@v2
4948
with:

0 commit comments

Comments
Β (0)