From fca16abc8cecde71a2b1a61c04177a0313cdb169 Mon Sep 17 00:00:00 2001 From: Hyunsoo Shin <41678750+Coldot@users.noreply.github.com> Date: Sat, 3 Aug 2024 05:01:18 +0900 Subject: [PATCH] Update deploy-chat.yml --- .github/workflows/deploy-chat.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/deploy-chat.yml b/.github/workflows/deploy-chat.yml index 7e75cdd..1f0cbf2 100644 --- a/.github/workflows/deploy-chat.yml +++ b/.github/workflows/deploy-chat.yml @@ -79,6 +79,20 @@ jobs: - 'chat/**' - '.github/workflows/**' + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + server-id: github # Value of the distributionManagement/repository/id field of the pom.xml + settings-path: ${{ github.workspace }} # location for the settings.xml file + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2 + + - name: Build with Gradle + run: ./gradlew build + - name: Configure AWS credentials if: steps.filter.outputs.chat == 'true' uses: aws-actions/configure-aws-credentials@v1