Skip to content

Conversation

unkarjedy
Copy link
Contributor

Before this change you had to log into the sonatype account and search for the errors there. (https://central.sonatype.com/publishing/deployments)
This was inconvenient, especially if you don't have the admin access to the account.

This is how the errors look in the UI of https://central.sonatype.com/publishing/deployments
image

This is how it looked in the SBT after "ci-release"
image

This is how it looks after the change:
image

@unkarjedy
Copy link
Contributor Author

unkarjedy commented Aug 4, 2025

I am not sure it this error is related:

sbt.internal.inc.InvalidComponent: Expected single file for component 'org.scala-sbt-compiler-bridge_2.12-1.10.8-bin_2.12.20__65.0', found: /home/runner/.sbt/boot/scala-2.12.20/org.scala-sbt/sbt/1.11.2/org.scala-sbt-compiler-bridge_2.12-1.10.8-bin_2.12.20__65.0/org.scala-sbt-compiler-bridge_2.12-1.10.8-bin_2.12.20__65.0.jar, /home/runner/.sbt/boot/scala-2.12.20/org.scala-sbt/sbt/1.11.2/org.scala-sbt-compiler-bridge_2.12-1.10.8-bin_2.12.20__65.0/org.scala-sbt-compiler-bridge_2.12-1.10.8-bin_2.12.20__65.0-1.10.8_20250303T164041.jar

Before this change you had to log into the sonatype account and search for the errors there.
(https://central.sonatype.com/publishing/deployments)
This was inconvenient, especially if you don't have the admin access to the account.
@unkarjedy
Copy link
Contributor Author

The remaining failing tests seem unrelated

@eed3si9n
Copy link
Member

eed3si9n commented Aug 4, 2025

This is cool. Thanks for the contribution!

@eed3si9n
Copy link
Member

eed3si9n commented Aug 4, 2025

I agree that the error has likely unrelated to this PR but it seems to be repeating likely because the file has persisted in GitHub Action cache:

[error] sbt.internal.inc.InvalidComponent: Expected single file for component 'org.scala-sbt-compiler-bridge_2.12-1.10.8-bin_2.12.20__65.0', found: /home/runner/.sbt/boot/scala-2.12.20/org.scala-sbt/sbt/1.11.2/org.scala-sbt-compiler-bridge_2.12-1.10.8-bin_2.12.20__65.0/org.scala-sbt-compiler-bridge_2.12-1.10.8-bin_2.12.20__65.0.jar, /home/runner/.sbt/boot/scala-2.12.20/org.scala-sbt/sbt/1.11.2/org.scala-sbt-compiler-bridge_2.12-1.10.8-bin_2.12.20__65.0/org.scala-sbt-compiler-bridge_2.12-1.10.8-bin_2.12.20__65.0-1.10.8_20250303T164041.jar

@unkarjedy
Copy link
Contributor Author

Am I right that no actions are expected from my side to resolve this?

@eed3si9n
Copy link
Member

eed3si9n commented Aug 5, 2025

Yea. I'll bump the sbt version used to build this branch, and hopefully that will invalidate the GitHub Action cache.

@eed3si9n eed3si9n merged commit 424d0eb into sbt:1.11.x Aug 5, 2025
9 checks passed
@guizmaii
Copy link
Contributor

Thanks @unkarjedy!

Very useful improvement :)

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

Successfully merging this pull request may close these issues.

3 participants