Giter Club home page Giter Club logo

Comments (5)

kellijohnson-NOAA avatar kellijohnson-NOAA commented on August 23, 2024 1

I have a few ideas but I am not sure if either of them will work

  1. Try to install tinytex a different way so it is already available before the quarto install
  2. Use a different operating system than Mac

from case-studies.

iantaylor-NOAA avatar iantaylor-NOAA commented on August 23, 2024

Update: recent failed action required 4 tries to get past this error. Still not clear if it's worth doing anything other than re-running actions manually, but wanted to make sure we have a record of what it can take to get working.
image

from case-studies.

k-doering-NOAA avatar k-doering-NOAA commented on August 23, 2024

Ugh, this seems really frustrating! I don't understand why we would be seeing this issue, but the quarto actions folks do not.

I wonder if we could pin the tinytex version and if that would change the need to rerun? I can't think of anything else to try.

from case-studies.

iantaylor-NOAA avatar iantaylor-NOAA commented on August 23, 2024

Here's a suggested fix for our error using GITHUB_TOKEN: quarto-dev/quarto-actions#105 (comment).

@Bai-Li-NOAA or @k-doering-NOAA, you two are more familiar with tokens than me. Is the setting of GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} on line 11 of both of our case-studies workflows already implementing this (and thus the problem has some other origin), or do we need to explicitly provide it under the Set up Quarto step? I also don't understand the difference between GITHUB_PAT (which we have in place) and GH_TOKEN (in the suggested fix). Because the problem is intermittent, I'd rather not just use trial and error without a greater understanding of the elements involved in case it randomly works without actually being fixed.

from case-studies.

k-doering-NOAA avatar k-doering-NOAA commented on August 23, 2024

Ah, this is super helpful!

I think we should add this to the setup step:

      env:
        GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

based on the docs here. It seems like the setup step is looking for an environmental variable called GH_TOKEN, which we have not set.

If the problem persists, I think we can swap secrets.GITHUB_TOKEN for a personal access token.

from case-studies.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.