Skip to content

Commit

Permalink
Windows fix again?
Browse files Browse the repository at this point in the history
  • Loading branch information
dereckmezquita committed Aug 26, 2024
1 parent cb1c5ba commit 6c97879
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/R-CMD-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,18 @@ jobs:
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}

- name: Install TinyTeX on Windows
if: runner.os == 'Windows'
run: |
install.packages('tinytex')
tinytex::install_prebuilt()
tinytex::install_tinytex(force = TRUE)
tinytex::tlmgr_install(c('inconsolata', 'pdftex', 'latex-bin', 'tools', 'amsmath', 'geometry', 'hyperref'))
shell: Rscript {0}

- name: Add TinyTeX to Windows PATH
if: runner.os == 'Windows'
run: echo "C:\Users\runneradmin\AppData\Roaming\TinyTeX\bin\win32" >> $GITHUB_PATH
run: echo "C:\\Users\\runneradmin\\AppData\\Roaming\\TinyTeX\\bin\\win32" >> $GITHUB_PATH

- name: Install system dependencies (Linux)
if: runner.os == 'Linux'
Expand Down

0 comments on commit 6c97879

Please sign in to comment.