Skip to content

Commit

Permalink
flex-templates fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuthan committed Oct 23, 2023
1 parent 898980f commit 005bb57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/flex-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
3 changes: 1 addition & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 005bb57

Please sign in to comment.