Skip to content

Commit

Permalink
update build action to fix tlmgr bug + cron
Browse files Browse the repository at this point in the history
  • Loading branch information
jchiquet committed May 17, 2024
1 parent 237250c commit bc632ec
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: build

on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
push:
branches: main
Expand All @@ -12,22 +14,28 @@ jobs:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
tinytex: true
version: pre-release

- name: register tinytex globally for diagram.lua
run: |
mkdir -p ~/.local/bin
~/.TinyTeX/bin/x86_64-linux/tlmgr option sys_bin ~/.local/bin
~/.TinyTeX/bin/x86_64-linux/tlmgr path add
~/.TinyTeX/bin/x86_64-linux/tlmgr install libertinus-fonts
- name: Install Computo extension for Quarto
run: |
quarto add --no-prompt computorg/computo-quarto-extension
- name: Install R
uses: r-lib/actions/setup-r@v2
with:
r-version: '4.2.2'
r-version: '4.4.0'

- name: Install R Dependencies with renv
uses: r-lib/actions/setup-renv@v2
Expand Down

0 comments on commit bc632ec

Please sign in to comment.