We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description:
Every of my CI runs contains the below lines of logs:
Run sbt compile copying runtime jar... ... [info] compiling 4 Scala sources to /home/runner/.sbt/1.0/staging/6154c1bd1130a4be9e4c/sbt-i18n/target/scala-2.12/sbt-1.0/classes ... [info] compiling 1 Scala source to /home/runner/.sbt/1.0/staging/6e513ce30429beb9703a/sbt-postcss/target/scala-2.12/sbt-1.0/classes ... [info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.18. Compiling... [info] Compilation completed in 15.349s. [info] done compiling [info] compiling 2 Scala sources to /home/runner/.sbt/1.0/staging/a6bcf762d50e5451a921/sbt-svelte/target/scala-2.12/sbt-1.0/classes ... [info] done compiling [info] done compiling ...
It seems to compile the source code from sbt plugins every time. I wonder if there's a bug with sbt caching i.e. we aren't caching everything.
Task version:
actions/setup-java@v4
Platform:
Runner type:
Repro steps:
Our project/plugins.sbt looks like below:
project/plugins.sbt
lazy val root = Project("plugins", file(".")) .aggregate(SbtSvelte, SbtI18n, sbtPostcss) .dependsOn(SbtSvelte, SbtI18n, sbtPostcss) lazy val SbtSvelte = RootProject(uri("https://github.com/tanin47/sbt-svelte.git#f1e844b12a1985562f8c6e1022c824af56ddd37f")) lazy val SbtI18n = RootProject(uri("https://github.com/GIVESocialMovement/sbt-i18n.git#e55ecf1d1858c4be87a7b34984aea5982b974e70")) lazy val sbtPostcss = RootProject(uri("https://github.com/tanin47/sbt-postcss.git#bec39d2c65b449636cab87152859a08415f5ff52"))
Expected behavior:
We shoudn't recompile the source code of these sbt plugins every time.
Actual behavior:
It recompiles the code and takes an extra 15 seconds.
Thank you.
The text was updated successfully, but these errors were encountered:
Hello @tanin47 👋, Thank you for reporting this issue. We will investigate it and get back to you as soon as we have some feedback.
Sorry, something went wrong.
No branches or pull requests
Description:
Every of my CI runs contains the below lines of logs:
It seems to compile the source code from sbt plugins every time. I wonder if there's a bug with sbt caching i.e. we aren't caching everything.
Task version:
actions/setup-java@v4
Platform:
Runner type:
Repro steps:
Our
project/plugins.sbt
looks like below:Expected behavior:
We shoudn't recompile the source code of these sbt plugins every time.
Actual behavior:
It recompiles the code and takes an extra 15 seconds.
Thank you.
The text was updated successfully, but these errors were encountered: