Update sbt-scalafix and sbt-assembly plugins to latest versions #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build flex templates | |
on: | |
workflow_dispatch: ~ | |
push: | |
branches: | |
- main | |
jobs: | |
assembly: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/setup | |
- run: sbt tollApplication/assembly | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: ./toll-application/target/scala-2.13/assembly.jar | |
build-batch: | |
runs-on: ubuntu-latest | |
needs: [assembly] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v4 | |
- uses: google-github-actions/auth@v2 | |
with: | |
credentials_json: "${{ secrets.GOOGLE_CREDENTIALS }}" | |
- uses: ./.github/actions/build-flex-template | |
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 | |
jar: ./artifact/assembly.jar | |
main_class: org.mkuthan.streamprocessing.toll.application.batch.TollBatchJob | |
build-streaming: | |
runs-on: ubuntu-latest | |
needs: [assembly] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/download-artifact@v4 | |
- uses: google-github-actions/auth@v2 | |
with: | |
credentials_json: "${{ secrets.GOOGLE_CREDENTIALS }}" | |
- uses: ./.github/actions/build-flex-template | |
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 | |
jar: ./artifact/assembly.jar | |
main_class: org.mkuthan.streamprocessing.toll.application.streaming.TollStreamingJob |