iffy / install-nim

Github Action to install Nim
MIT License
30 stars 1 forks source link

Can't find nightly archive #8

Closed dom96 closed 3 years ago

dom96 commented 3 years ago

Looks like the macos tarball that this looks for does not exist, which causes failures for Nimble's CI. https://github.com/nim-lang/nimble/runs/1833553950

Not sure why it looks for macos.tar.xz, any ideas?

iffy commented 3 years ago

Did it just start failing recently? I thought it was working before. I'll dig in and see what I can remember.

iffy commented 3 years ago

Oops, this auto-closed. I'll submit a PR to nimble with a version of this that has more logging to see what happened. I suspect it was a transient error (maybe the .tar.xz wasn't available or something?)

dom96 commented 3 years ago

Thanks for the quick look!

iffy commented 3 years ago

I just had this happen on one of my builds. It's hitting the GitHub rate limit:

ERROR: nightly data from https://api.github.com/repos/nim-lang/nightlies/releases/tags/2020-11-11-devel-bbe49a14ae827b6474d692042406716a3b3dd71f --------------------
{"message":"API rate limit exceeded for 199.19.85.34. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}
ERROR: unable to find archive matching pattern macosx_x64.tar.xz

This is the same issue I helped patch in choosenim :) I'll see if I can find time today to patch this repo.