Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not an issue with setup-scala - question about its use in ubuntu #42

Open
azadbolour opened this issue Jun 28, 2021 · 0 comments
Open

Comments

@azadbolour
Copy link

I recently had a regression in my github action using setup-scala which I believe to be caused by a change in their virtual environments for ubuntu-18.04. The issue is a stack trace while trying to download dependencies for the play sbt plugin (see below).

I have reported the issue to github (actions/runner-images#3631) but have not received a solution yet. I am writing on the off chance that someone else using the setup-scala may have run into the same problem and may have found a workaround that they can share.

I also created a simple test case that reproduces the issue at: https://github.com/azadbolour/play-sbt-downdload-issue.

Do you guys have test cases that try to use the play sbt plugin and if so do they work on the most recent ubuntu virtual environments for github actions. Perhaps then I can compare my dependency specifications to yours.

Many thanks.

Azad

P.S. The download stack trace error message from github actions:

Error: lmcoursier.internal.shaded.coursier.error.FetchError$DownloadingArtifacts: Error fetching artifacts:
Error: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.play/sbt-plugin/scala_2.12/sbt_1.0/2.8.0/jars/sbt-plugin.jar: download error: Caught javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target) while downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.play/sbt-plugin/scala_2.12/sbt_1.0/2.8.0/jars/sbt-plugin.jar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant