Skip to content

Commit b5d9df5

Browse files
authored
environment: PR시 동작하는 github Actions 파일 작성
1 parent 3c4fc58 commit b5d9df5

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Spring Boot Gradle CI
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v4
11+
12+
- name: Set up JDK 21
13+
uses: actions/setup-java@v4
14+
with:
15+
java-version: '21'
16+
distribution: 'adopt'
17+
cache: 'gradle'
18+
19+
- name: Grant execute permission for gradlew
20+
run: chmod +x gradlew
21+
22+
- name: Clean with Gradle
23+
run: ./gradlew clean
24+
25+
- name: Build with Gradle
26+
run: ./gradlew build

0 commit comments

Comments
 (0)