Skip to content

Commit

Permalink
Publish missing modules for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed May 14, 2021
1 parent c6d0312 commit 2f5b7e1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
jvm: 8
- name: Publish stubs locally
run: ./mill -i stubs.publishLocal
run: ./mill -i publishStubs
- name: Setup (Windows only)
if: runner.os == 'Windows'
shell: bash
Expand Down
12 changes: 12 additions & 0 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -317,3 +317,15 @@ def uploadLaunchers(directory: String = "artifacts") = T.command {
}
upload(ghOrg, ghName, ghToken, tag, dryRun = false, overwrite = overwriteAssets)(launchers: _*)
}

def publishStubs = T {
val javaModules = Seq(
stubs
)
val crossModules = for {
sv <- Scala.all
proj <- Seq(runner, `test-runner`, `line-modifier-plugin`)
} yield proj(sv)
val tasks = (javaModules ++ crossModules).map(_.publishLocal())
define.Task.sequence(tasks)
}

0 comments on commit 2f5b7e1

Please sign in to comment.