-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 823 Bytes
/
Copy pathserver-java.yml
File metadata and controls
36 lines (33 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: book-store server-spring
on:
push:
branches: [ main ]
paths:
- "server-spring/**"
pull_request:
branches: [ main ]
paths:
- "server-spring/**"
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./server-spring
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Test with Gradle
user: gradle/gradle-build-action@v2
with:
arguments: test
build-root-directory: server-spring
- name: Build with Gradle
user: gradle/gradle-build-action@v2
with:
arguments: assemble
build-root-directory: server-spring