quarto-dev / quarto-actions

GNU General Public License v2.0
228 stars 53 forks source link

TinyTex version error #71

Closed arnold-c closed 1 year ago

arnold-c commented 1 year ago

I'm trying to use the Quarto GitHub Action to render and publish a book in both the PDF and HTML format, but unfortunately it is producing the following error when trying to render the PDF output.

ERROR: Your TexLive version is not updated enough to connect to the remote repository and download packages. Please update your installation of TexLive or TinyTex.

Underlying message: Local TeX Live (2022) is older than remote repository (2023).

I have tried a number of different things to update the CTAN repository manually, using a different pdf-engine, etc, but unfortunately none of them seem to work.

Any thoughts would be appreciated.

on:
  workflow_dispatch:
  push:
    branches: main

name: Quarto Publish

jobs:
  build-deploy:
    runs-on: ubuntu-latest
    permissions:
      contents: write
    steps:
      - name: Check out repository
        uses: actions/checkout@v3

      - name: Set up Quarto
        uses: quarto-dev/quarto-actions/setup@v2
        with:
          tinytex: true
        env:
          GH_TOKEN: ${{ secrets.QUARTO_PUBLISH_TOKEN }}

      - name: Publish HTML book
        uses: quarto-dev/quarto-actions/publish@v2
        with:
          target: gh-pages
          render: true
cscheid commented 1 year ago

Thanks for the report. Can you point us to a repo/workflow log so we can take a look at it? Thanks.

arnold-c commented 1 year ago

Thanks for such a quick response @cscheid.

The issue is coming up in this repo

cscheid commented 1 year ago

@arnold-c We're tracking here https://github.com/quarto-dev/quarto-cli/issues/4906

I believe the issue is that texlive's servers no longer support old texlive versions calling them, and the texlive installers we use are still carrying the 2022 version. @cderv will be able to confirm, but unfortunately I think we're blocked until this is fixed.

cderv commented 1 year ago

Hello,

TinyTeX has been released for TeX Live 2023 today https://github.com/rstudio/tinytex-releases/releases/tag/v2023.03.21

So this should be solved now as it will install the latest build which support TeX Live 2023 mirrors.

Same issue each year, and we have a few hours or days delay. Sorry for the trouble.

Related issue : https://github.com/rstudio/tinytex-releases/issues/36

rogerbramon commented 1 year ago

It's solved for us. Thanks for the quick response!

arnold-c commented 1 year ago

Amazing! Thank you everyone for your quick work. That works perfectly.