Skip to content

Commit

Permalink
Do not publish artefacts for now
Browse files Browse the repository at this point in the history
  • Loading branch information
satabin committed Feb 7, 2024
1 parent 1066dee commit 0f63ad5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ jobs:

- name: Make target directories
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
run: mkdir -p circe/.jvm/target aws/sqs/.jvm/target core/.jvm/target azure/service-bus/.jvm/target project/target
run: mkdir -p project/target

- name: Compress target directories
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
run: tar cf targets.tar circe/.jvm/target aws/sqs/.jvm/target core/.jvm/target azure/service-bus/.jvm/target project/target
run: tar cf targets.tar project/target

- name: Upload target directories
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
Expand Down
4 changes: 4 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ val commonSettings = List(
lazy val core = crossProject(JVMPlatform)
.crossType(CrossType.Pure)
.in(file("core"))
.enablePlugins(NoPublishPlugin)
.settings(commonSettings)
.settings(
name := "cloud-queues-core"
Expand All @@ -34,6 +35,7 @@ lazy val core = crossProject(JVMPlatform)
lazy val queuesCirce = crossProject(JVMPlatform)
.crossType(CrossType.Pure)
.in(file("circe"))
.enablePlugins(NoPublishPlugin)
.settings(commonSettings)
.settings(
name := "cloud-queues-circe"
Expand All @@ -42,6 +44,7 @@ lazy val queuesCirce = crossProject(JVMPlatform)
lazy val azureServiceBus = crossProject(JVMPlatform)
.crossType(CrossType.Pure)
.in(file("azure/service-bus"))
.enablePlugins(NoPublishPlugin)
.settings(commonSettings)
.settings(
name := "cloud-queues-azure-service-bus",
Expand All @@ -55,6 +58,7 @@ lazy val azureServiceBus = crossProject(JVMPlatform)
lazy val awsSQS = crossProject(JVMPlatform)
.crossType(CrossType.Pure)
.in(file("aws/sqs"))
.enablePlugins(NoPublishPlugin)
.settings(commonSettings)
.settings(
name := "cloud-queues-aws-sqs",
Expand Down

0 comments on commit 0f63ad5

Please sign in to comment.