Skip to content

Commit

Permalink
Try fix CI failures
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Jan 2, 2024
1 parent 577a76f commit a645cc6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions cli/scb-cli.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1260,6 +1260,11 @@ class LocalReproducer(using config: Config, build: BuildInfo):
projectDir,
replaceExisting = true
)
os.copy.into(
millBuilder / "compat" / "0.11.sc",
projectDir / "MillVersionCompat.sc",
replaceExisting = true
)
val sharedSourcesDir = projectBuilderDir / "shared"
os.list(sharedSourcesDir)
.foreach { path =>
Expand Down
3 changes: 1 addition & 2 deletions project-builder/mill/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ function tryBuild() {
$mill ${millSettings[@]} runCommunityBuild "$scalaVersion" "${projectConfig}" "${targets[@]}"
}

rm ../build-summary.txt && touch ../build-summary.txt
cat ../build-summary.txt

# Retry only if previous build failed to start
export MILL_VERSION=$millVersion
tryBuild mill || ([[ -f ./mill && ! -s ../build-summary.txt ]] && tryBuild ./mill)

0 comments on commit a645cc6

Please sign in to comment.