Hello!
I want to upload the JAR artifact to GitHub packages with the plugin. The plugin definitely did work in the past. However, sometimes I just get this exception:
java.io.IOException: Error writing to server
I set the "GIT_TOKEN" environment variable:

The corresponding build.sbt file looks like this
publishMavenStyle:=true
githubOwner := "<theOwner>"
githubRepository := "<theRepo>"
githubTokenSource := TokenSource.Environment("GITHUB_TOKEN")
When I run "sbt publish", it sometimes works, sometimes I get the mentioned error. Are there logs (maybe in GitHub) where a more detailed error description is available? For example, the GitHub Token is valid, otherwise the upload would have never worked. Also, I need a reliable configuration of the plugin, because we want to use SBT in a pipeline (in Azure).
Thank you for your help!
Kind regards, LT
Hello!
I want to upload the JAR artifact to GitHub packages with the plugin. The plugin definitely did work in the past. However, sometimes I just get this exception:
java.io.IOException: Error writing to serverI set the "GIT_TOKEN" environment variable:

The corresponding build.sbt file looks like this
When I run "sbt publish", it sometimes works, sometimes I get the mentioned error. Are there logs (maybe in GitHub) where a more detailed error description is available? For example, the GitHub Token is valid, otherwise the upload would have never worked. Also, I need a reliable configuration of the plugin, because we want to use SBT in a pipeline (in Azure).
Thank you for your help!
Kind regards, LT