From 933592a98b4883a043c2049570b947512e576aab Mon Sep 17 00:00:00 2001 From: seo-young Date: Thu, 15 Feb 2024 16:04:19 +0900 Subject: [PATCH] =?UTF-8?q?[chore]=20ci/cd=20=EA=B5=AC=EC=B6=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ci.yml | 0 .github/workflows/cd.yml | 32 ++++++++++++++++++++++++++++ .github/{cd.yml => workflows/ci.yml} | 0 3 files changed, 32 insertions(+) delete mode 100644 .github/ci.yml create mode 100644 .github/workflows/cd.yml rename .github/{cd.yml => workflows/ci.yml} (100%) diff --git a/.github/ci.yml b/.github/ci.yml deleted file mode 100644 index e69de29..0000000 diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml new file mode 100644 index 0000000..959ad93 --- /dev/null +++ b/.github/workflows/cd.yml @@ -0,0 +1,32 @@ +name: ci + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up JDK 17 + uses: actions/Setup-java@v4 + with: + java-version: '17' + distribution: 'temurin' + + - name: Gradle Caching + uses: actions/cache@v3 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} + restore-keys: | + ${{ runner.os }}-gradle- + + - name: Grant Execute Permission For Gradlew + run: chmod +x gradlew + + - name: Build With Gradle + run: ./gradlew build diff --git a/.github/cd.yml b/.github/workflows/ci.yml similarity index 100% rename from .github/cd.yml rename to .github/workflows/ci.yml