Skip to content

Commit 241f261

Browse files
[build] Ensure to publish javadoc for scala3-library artifacts - (#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 46fcf2f commit 241f261

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
@@ -1419,7 +1419,7 @@ object Build {
14191419
Compile / classDirectory := (`scala-library-bootstrapped` / Compile / classDirectory).value,
14201420
// Packaging configuration of the stdlib
14211421
Compile / packageBin / publishArtifact := true,
1422-
Compile / packageDoc / publishArtifact := false,
1422+
Compile / packageDoc / publishArtifact := true,
14231423
Compile / packageSrc / publishArtifact := true,
14241424
// Only publish compilation artifacts, no test artifacts
14251425
Test / publishArtifact := false,
@@ -1592,7 +1592,7 @@ object Build {
15921592
Test / run := (`scala-library-sjs` / Test / run).evaluated,
15931593
// Packaging configuration of the stdlib
15941594
Compile / packageBin / publishArtifact := true,
1595-
Compile / packageDoc / publishArtifact := false,
1595+
Compile / packageDoc / publishArtifact := true,
15961596
Compile / packageSrc / publishArtifact := true,
15971597
// Only publish compilation artifacts, no test artifacts
15981598
Test / publishArtifact := false,

0 commit comments

Comments
 (0)