Skip to content

Commit

Permalink
Merge pull request #434 from thesamet/patch-2
Browse files Browse the repository at this point in the history
Publish standalone protoc plugins
  • Loading branch information
ahjohannessen authored Nov 10, 2021
2 parents f26cd50 + 0afcbd4 commit ee737b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
run: sbt ++${{ matrix.scala }} scalafmtCheckAll test mimaReportBinaryIssues

- name: Compress target directories
run: tar cf targets.tar plugin/target target .protoc-gen-fs2-grpc/target codegen/target runtime/target project/target
run: tar cf targets.tar plugin/target target codegen/target runtime/target project/target

- name: Upload target directories
uses: actions/upload-artifact@v2
Expand Down
7 changes: 5 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ inThisBuild(
lazy val root = project
.in(file("."))
.enablePlugins(BuildInfoPlugin, NoPublishPlugin)
.aggregate(runtime, codegen, plugin, e2e)
.aggregate(runtime, codegen, plugin, e2e, protocGen.agg)
.dependsOn(protocGen.agg)

lazy val codegen = project
Expand Down Expand Up @@ -102,7 +102,10 @@ lazy val runtime = project
lazy val protocGen = protocGenProject("protoc-gen-fs2-grpc", codegen)
.settings(
Compile / mainClass := Some(codegenFullName),
scalaVersion := Scala212,
githubWorkflowArtifactUpload := false,
scalaVersion := Scala212
)
.aggregateProjectSettings(
githubWorkflowArtifactUpload := false,
mimaFailOnNoPrevious := false,
mimaPreviousArtifacts := Set()
Expand Down

0 comments on commit ee737b1

Please sign in to comment.