From 920ff6d56b14e439efe032fd1dcebb6c2f3bfd80 Mon Sep 17 00:00:00 2001 From: PgmJun <84304802+PgmJun@users.noreply.github.com> Date: Thu, 18 Jul 2024 17:34:56 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20checkout=20with=20=EC=98=B5=EC=85=98,=20?= =?UTF-8?q?=EB=B2=84=EC=A0=84=EC=97=85=EC=97=90=20=EB=94=B0=EB=A5=B8=20?= =?UTF-8?q?=EC=84=A4=EC=A0=95=20=EB=B3=80=EA=B2=BD=20=EB=82=B4=EC=9A=A9=20?= =?UTF-8?q?=EB=B0=98=EC=98=81=20#33?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/be-cd-dev.yml | 10 ++++------ .github/workflows/be-ci-dev.yml | 9 ++++----- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/be-cd-dev.yml b/.github/workflows/be-cd-dev.yml index 01b04e32f..04da6e12f 100644 --- a/.github/workflows/be-cd-dev.yml +++ b/.github/workflows/be-cd-dev.yml @@ -21,14 +21,12 @@ jobs: working-directory: ./backend steps: - - name: Checkout code - uses: actions/checkout@v4 - - name: Set up JDK 17 - uses: actions/setup-java@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: - java-version: '17' distribution: 'temurin' + java-version: '17' - name: Grant execute permission for gradlew run: chmod +x gradlew @@ -51,7 +49,7 @@ jobs: deploy: needs: build - runs-on: [self-hosted, linux, ARM64] # Self hosted runner 사용 + runs-on: [ self-hosted, linux, ARM64 ] # Self hosted runner 사용 steps: - name: Pull docker image run: sudo docker pull ${{ secrets.DOCKER_USERNAME }}/ddangkong-api-dev:latest \ No newline at end of file diff --git a/.github/workflows/be-ci-dev.yml b/.github/workflows/be-ci-dev.yml index dfad31e45..ece9ddbd4 100644 --- a/.github/workflows/be-ci-dev.yml +++ b/.github/workflows/be-ci-dev.yml @@ -21,17 +21,16 @@ jobs: working-directory: ./backend steps: - - name: checkout - uses: actions/checkout@v4 - - name: Set up JDK 17 - uses: actions/setup-java@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: - java-version: '17' distribution: 'temurin' + java-version: '17' - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle run: ./gradlew clean build +