From e8043c176b47f791d2c0196a7cdf86248ef75f11 Mon Sep 17 00:00:00 2001 From: seo-young Date: Thu, 15 Feb 2024 16:01:00 +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/cd.yml | 32 ++++++++++++++++++++++++++++++++ .github/ci.yml | 0 2 files changed, 32 insertions(+) create mode 100644 .github/cd.yml create mode 100644 .github/ci.yml diff --git a/.github/cd.yml b/.github/cd.yml new file mode 100644 index 0000000..1dd5898 --- /dev/null +++ b/.github/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 \ No newline at end of file diff --git a/.github/ci.yml b/.github/ci.yml new file mode 100644 index 0000000..e69de29