From 4cfbc468e878f35add62099c8f24f9368d4f92f5 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 00000000..99ef1cf1 --- /dev/null +++ b/.github/workflows/pr.yaml @@ -0,0 +1,31 @@ +name: Pull request workflow (build check) + +on: + pull_request: + branches: + - master + - 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