From da319bc7184eca56cd53891c3a6603257db5dcb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=8B=A0=EC=B0=BD=EC=97=BD?= Date: Mon, 10 Jun 2024 16:50:01 +0900 Subject: [PATCH] =?UTF-8?q?[INFRA]=20Setting=20:=20=EC=9E=84=EC=8B=9C=20?= =?UTF-8?q?=EB=B0=B0=ED=8F=AC=20backend=20github=20action=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/action.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 0fbfa72..f5c4654 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -44,7 +44,18 @@ jobs: echo "${{ secrets.APP_PROPERTIES_PROD }}" >> backend/src/main/resources/application-prod.properties echo "${{ secrets.APP_PROPERTIES }}" >> backend/src/main/resources/application.properties - + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + + - name: Grant execute permission for gradlew + run: chmod +x backend/gradlew + + - name: Build with Gradle + run: ./gradlew build + working-directory: backend + - name: Log in to Docker Hub uses: docker/login-action@v1 with: