close #434: add a global option tinytex.tlmgr_update
to make it pos…
#275
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag. | |
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- '.github/workflows/build.yaml' | |
pull_request: | |
branches: [main] | |
paths-ignore: | |
- '.github/workflows/build.yaml' | |
name: check required LateX packages | |
jobs: | |
LateX-Packages: | |
runs-on: ubuntu-latest | |
name: Ubuntu 18-04 (release) | |
env: | |
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: r-lib/actions/setup-r@v2 | |
with: | |
use-public-rspm: true | |
- uses: r-lib/actions/setup-pandoc@v2 | |
- uses: r-lib/actions/setup-tinytex@v2 | |
env: | |
# install prebuilt base version (infraonly) | |
TINYTEX_INSTALLER: TinyTeX-0 | |
- uses: r-lib/actions/setup-r-dependencies@v2 | |
with: | |
extra-packages: any::curl | |
- name: Find required LateX packages | |
run: Rscript tools/test-packages.R |