diff --git a/.github/workflows/leets-actions.yml b/.github/workflows/leets-actions.yml index 5f567b6..74feb53 100644 --- a/.github/workflows/leets-actions.yml +++ b/.github/workflows/leets-actions.yml @@ -32,13 +32,20 @@ jobs: run: | sudo chown -R ubuntu:ubuntu /home/ubuntu/actions-runner/_work/Leets-BE - - name: checkout - uses: actions/checkout@v3 + - name: 레포지토리 체크아웃 + uses: actions/checkout@v4 - - name: gradle bootjar - run: | - chmod +x ./gradlew - ./gradlew clean build -x test + - name: JDK 17을 설치 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'corretto' + + - name: gradlew 권한 부여 + run: chmod +x gradlew + + - name: Gradle 빌드 + run: ./gradlew build - name: DockerHub 로그인 uses: docker/login-action@v1