From 493c3579db29acb0dde4b73c7a6fc5022cda4be1 Mon Sep 17 00:00:00 2001 From: Joel Balcaen Date: Wed, 27 Mar 2024 09:10:20 -0300 Subject: [PATCH] setup java and build jar --- .github/workflows/main.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7b348cf..896a5c5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -103,6 +103,16 @@ jobs: with: python-version: '3.11' + - name: Setup Java 17 + uses: actions/setup-java@v4 + with: + distribution: 'corretto' + java-version: '17' + + - name: Package Java lambdas + run: | + mvn -f ./lambdas/EmailProcessor/EmailRequestPreProcessorFunction package + - name: Terraform Init id: init run: terraform init -no-color -upgrade