From 357451130d532305ffbf17f0853cc1f429d108ce Mon Sep 17 00:00:00 2001 From: Kayoung Yoon Date: Thu, 12 Sep 2024 18:38:23 +0900 Subject: [PATCH] fix: added build job --- .github/workflows/backend-build-alpha-image.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/backend-build-alpha-image.yml b/.github/workflows/backend-build-alpha-image.yml index 4a8e4b98..f0e68698 100644 --- a/.github/workflows/backend-build-alpha-image.yml +++ b/.github/workflows/backend-build-alpha-image.yml @@ -9,6 +9,23 @@ permissions: id-token: write jobs: build: + defaults: + run: + working-directory: backend + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'adopt' + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew build + push-image: defaults: run: working-directory: backend