-
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (32 loc) · 908 Bytes
/
build.yml
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
36
37
38
39
name: Build
on:
push:
branches: [ main ]
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v3
- name: Gradle Wrapper Validation
uses: gradle/wrapper-validation-action@v1
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-home-cache-cleanup: true
- name: Run Tests
run: ./gradlew test
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
path: |
./graphql-voyager-spring-boot-starter/build/libs/*.jar
./graphql-graphiql-spring-boot-starter/build/libs/*.jar
./graphql-playground-spring-boot-starter/build/libs/*.jar