Skip to content

Commit

Permalink
feat: Add github workflow for integrating pr branch
Browse files Browse the repository at this point in the history
  • Loading branch information
mkSpace committed Jun 19, 2024
1 parent 6bc145b commit 9d3608c
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 9d3608c

Please sign in to comment.