You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So this issue probably doesn't belong here, as I'm not sure it's directly an sbt-gihub-packages problem, but I'm not sure where else to start and am looking for some idea.
I have a laptop (MacOS) that constantly gets "unauthorised" responses from github when trying to do sbt update to fetch libraries with sbt-github-packages.
The exact same code works fine on other machines (another mac, builds on various platforms, etc).
I have the exact same .gitconf file on both this laptop and my desktop (they md5 hash as identical so not even any whitespace differences) with the same github token. It also doesn't matter if I supply the token via an env var.
Both are using the same version of the jdk, sbt and scala. And if I run the sbt build in a docker build on the laptop in question (with a script that extracts the token from the .gitconf file and passes it in) it retrieves the libraries just fine.
It's been driving me nuts for months now (and I'm now at the point where I have put together a docker container that will pull the libraries and populate the coursier cache on my local machine with them!).
Does anyone have any suggestions for what else might be different in the environments that could be causing this?
The text was updated successfully, but these errors were encountered:
So this issue probably doesn't belong here, as I'm not sure it's directly an sbt-gihub-packages problem, but I'm not sure where else to start and am looking for some idea.
I have a laptop (MacOS) that constantly gets "unauthorised" responses from github when trying to do
sbt update
to fetch libraries with sbt-github-packages.The exact same code works fine on other machines (another mac, builds on various platforms, etc).
I have the exact same
.gitconf
file on both this laptop and my desktop (they md5 hash as identical so not even any whitespace differences) with the same github token. It also doesn't matter if I supply the token via an env var.Both are using the same version of the jdk, sbt and scala. And if I run the sbt build in a docker build on the laptop in question (with a script that extracts the token from the .gitconf file and passes it in) it retrieves the libraries just fine.
It's been driving me nuts for months now (and I'm now at the point where I have put together a docker container that will pull the libraries and populate the coursier cache on my local machine with them!).
Does anyone have any suggestions for what else might be different in the environments that could be causing this?
The text was updated successfully, but these errors were encountered: