Skip to content

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

@azadbolour

Description

@azadbolour

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions