From 005bb5796dbaa37dca44a0191184b291eb19764c Mon Sep 17 00:00:00 2001 From: Marcin Kuthan Date: Mon, 23 Oct 2023 15:55:15 +0200 Subject: [PATCH] flex-templates fix --- .github/workflows/flex-templates.yml | 8 ++++---- build.sbt | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/flex-templates.yml b/.github/workflows/flex-templates.yml index a5617a71..0e30f4de 100644 --- a/.github/workflows/flex-templates.yml +++ b/.github/workflows/flex-templates.yml @@ -15,8 +15,8 @@ jobs: - run: sbt tollApplication/assembly - uses: actions/upload-artifact@v3 with: - name: toll-application - path: toll-application/target/scala-2.13/toll-application.jar" + name: assembly + path: stream-processing/toll-application/target/scala-2.13/tollApplication-assembly*.jar" build-batch: runs-on: ubuntu-latest @@ -30,7 +30,7 @@ jobs: with: template_file: gs://playground-272019-toll-application/templates/toll-application-batch.json image_gcr: europe-west1-docker.pkg.dev/playground-272019/toll-application/toll-application-batch:latest - artifact_name: toll-application + artifact_name: assembly main_class: org.mkuthan.streamprocessing.toll.application.batch.TollBatchJob build-streaming: @@ -45,5 +45,5 @@ jobs: with: template_file: gs://playground-272019-toll-application/templates/toll-application-streaming.json image_gcr: europe-west1-docker.pkg.dev/playground-272019/toll-application/toll-application-streaming:latest - artifact_name: toll-application + artifact_name: assembly main_class: org.mkuthan.streamprocessing.toll.application.streaming.TollStreamingJob diff --git a/build.sbt b/build.sbt index c60c223b..e4117c85 100644 --- a/build.sbt +++ b/build.sbt @@ -90,8 +90,7 @@ lazy val tollDomain = (project in file("toll-domain")) lazy val tollApplication = (project in file("toll-application")) .settings( commonSettings, - assemblySettings, - assembly / assemblyJarName := "toll-application.jar" + assemblySettings ) .dependsOn( shared,