Skip to content

Commit

Permalink
skip mima task, if no artifacts should be published
Browse files Browse the repository at this point in the history
  • Loading branch information
mzuehlke committed Jun 27, 2023
1 parent c7a1877 commit 9232084
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ object TypelevelMimaPlugin extends AutoPlugin {

override def projectSettings = Seq[Setting[_]](
mimaReportBinaryIssues := {
if (tlSkipIrrelevantScalas.value && (mimaReportBinaryIssues / skip).value)
if (!publishArtifact.value || (tlSkipIrrelevantScalas.value && (mimaReportBinaryIssues / skip).value))
()
else mimaReportBinaryIssues.value
},
Expand Down

0 comments on commit 9232084

Please sign in to comment.