From f689603b717d654b653481aae78bcb3075254fc1 Mon Sep 17 00:00:00 2001 From: Hyun <82355395+donghyuun@users.noreply.github.com> Date: Fri, 20 Sep 2024 22:24:28 +0900 Subject: [PATCH] =?UTF-8?q?setUp:=20=EB=B9=8C=EB=93=9C=20=EB=B0=8F=20?= =?UTF-8?q?=ED=85=8C=EC=8A=A4=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..6b649ae --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,30 @@ +name: Java CI + +on: + workflow_dispatch: + push: + branches: + - 'Master' + +jobs: + ci-pipeline: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up JDK 17 + uses: actions/setup-java@v4 + with: + distribution: 'adopt' + java-version: '21' + + - name: Grant execute permission for Gradle Wrapper + run: chmod +x ./gradlew + + - name: Build with Gradle + run: ./gradlew build + + - name: Test with Gradle + run: ./gradlew test