Skip to content

Commit

Permalink
Don't generate the launchers twice on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Jul 29, 2022
1 parent 60e3483 commit be0673a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ object `cs-m1` extends JavaModule with NativeImage {

def nativeImageClassPath = runClasspath()
def nativeImageMainClass = "coursier.cli.Coursier"
def nativeImagePersist = System.getenv("CI") != null

def copyToArtifacts(directory: String = "artifacts/") = T.command {
val _ = Upload.copyLauncher(
Expand Down

0 comments on commit be0673a

Please sign in to comment.