Skip to content

Commit 3acd344

Browse files
committed
update build action to fix tlmgr bug + cron
1 parent 5ae8aae commit 3acd344

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: build
22

33
on:
4+
schedule:
5+
- cron: '0 0 * * 0'
46
workflow_dispatch:
57
push:
68
branches: main
@@ -18,8 +20,14 @@ jobs:
1820
uses: quarto-dev/quarto-actions/setup@v2
1921
with:
2022
tinytex: true
21-
version: pre-release
2223

24+
- name: register tinytex globally for diagram.lua
25+
run: |
26+
mkdir -p ~/.local/bin
27+
~/.TinyTeX/bin/x86_64-linux/tlmgr option sys_bin ~/.local/bin
28+
~/.TinyTeX/bin/x86_64-linux/tlmgr path add
29+
~/.TinyTeX/bin/x86_64-linux/tlmgr install libertinus-fonts
30+
2331
- name: Install Computo extension for Quarto
2432
run: |
2533
quarto add --no-prompt computorg/computo-quarto-extension

0 commit comments

Comments
 (0)