From 9d3608c2f1b65a76317e7cbb79d1e0ec690a271c Mon Sep 17 00:00:00 2001 From: "Jaemin.Park" Date: Wed, 19 Jun 2024 18:51:27 +0900 Subject: [PATCH] feat: Add github workflow for integrating pr branch --- .github/workflows/pr.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/pr.yaml diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml new file mode 100644 index 0000000..0db061a --- /dev/null +++ b/.github/workflows/pr.yaml @@ -0,0 +1,31 @@ +name: Pull request workflow (build check) + +on: + pull_request: + branches: + - main + - develop + +jobs: + build: + runs-on: ubuntu-latest + steps: + + - name: Checkout + uses: actions/checkout@v3 + + - name: Set up JDK 21 + uses: actions/setup-java@v3 + with: + java-version: 21 + distribution: temurin + + - name: Get CurrentTime + uses: 1466587594/get-current-time@v2 + id: current-time + with: + format: YYYY-MM-DDTHH-mm-ss + utcOffset: "+09:00" + + - name: build test + run: chmod +x gradlew && ./gradlew build