Skip to content

Commit

Permalink
Merge pull request #576 from mzuehlke/bug/575
Browse files Browse the repository at this point in the history
skip mima task, if no artifacts should be published
  • Loading branch information
armanbilge authored Jun 28, 2023
2 parents 11eccc2 + 9232084 commit 3c11cd8
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 3c11cd8

Please sign in to comment.