Skip to content

Commit

Permalink
add : build check CI on PR and Push
Browse files Browse the repository at this point in the history
  • Loading branch information
xonmin committed Jun 14, 2024
1 parent e3a1395 commit dfd541c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI workflow (build check on PR and Push to master)

on:
push:
branches:
- master
pull_request:
branches:
- master

env:
JASYPT_ENCRYPTOR_PASSWORD: ${{ secrets.JASYPT_ENCRYPTOR_PASSWORD }}

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: adopt

- 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 dfd541c

Please sign in to comment.