Skip to content

Commit a53104f

Browse files
WojciechMazurlidaisy
authored andcommitted
[build] Ensure to publish javadoc for scala3-library artifacts - (scala#24654)
Mavne requires all published artifacts to include JavaDoc artifact - see [failed publish job](https://github.com/scala/scala3/actions/runs/19905250615/job/57059665654) Adds missing `packageDoc` for `scala3-library-bootstrapped` and `scala3-library-sjs` artifacts - both are effectively empty, but we still need to include valid javadoc to satisfy validation.
1 parent 6d44d04 commit a53104f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

project/Build.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,7 @@ object Build {
14201420
Compile / classDirectory := (`scala-library-bootstrapped` / Compile / classDirectory).value,
14211421
// Packaging configuration of the stdlib
14221422
Compile / packageBin / publishArtifact := true,
1423-
Compile / packageDoc / publishArtifact := false,
1423+
Compile / packageDoc / publishArtifact := true,
14241424
Compile / packageSrc / publishArtifact := true,
14251425
// Only publish compilation artifacts, no test artifacts
14261426
Test / publishArtifact := false,
@@ -1593,7 +1593,7 @@ object Build {
15931593
Test / run := (`scala-library-sjs` / Test / run).evaluated,
15941594
// Packaging configuration of the stdlib
15951595
Compile / packageBin / publishArtifact := true,
1596-
Compile / packageDoc / publishArtifact := false,
1596+
Compile / packageDoc / publishArtifact := true,
15971597
Compile / packageSrc / publishArtifact := true,
15981598
// Only publish compilation artifacts, no test artifacts
15991599
Test / publishArtifact := false,

0 commit comments

Comments
 (0)