From c070fbc330f584e943ce55f8571247e8c062bdc7 Mon Sep 17 00:00:00 2001 From: Tony <86696759+capDoYeonLee@users.noreply.github.com> Date: Thu, 5 Oct 2023 02:21:52 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20=EB=B0=B1=EC=97=94=EB=93=9C=20CI=20g?= =?UTF-8?q?radle.yml=20=ED=8C=8C=EC=9D=BC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gradle.yml | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/gradle.yml diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml new file mode 100644 index 0000000..2c8200f --- /dev/null +++ b/.github/workflows/gradle.yml @@ -0,0 +1,38 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. +# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle + +name: Java CI with Gradle + +on: + push: + branches: [ "develop" ] + pull_request: + branches: [ "develop" ] + +permissions: + contents: read + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + - name: init with Gradle + uses: gradle/gradle-build-action@v2 + - run: gradle init + - name: Build with Gradle + uses: gradle/gradle-build-action@v2 + with: + gradle-version: 7.5.1 + arguments: build