File tree Expand file tree Collapse file tree 3 files changed +36
-143
lines changed
Expand file tree Collapse file tree 3 files changed +36
-143
lines changed Original file line number Diff line number Diff line change 1+ name : Build and test
2+ on : [push]
3+
4+ jobs :
5+ build-and-check :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - uses : actions/checkout@v4
9+ - uses : actions/setup-java@v4
10+ with :
11+ java-version : ' 17'
12+ distribution : ' temurin'
13+
14+ - name : Setup Gradle
15+ uses : gradle/actions/setup-gradle@v4
16+ with :
17+ cache-read-only : false
18+
19+ - name : Generate and submit dependency graph
20+ uses : gradle/actions/dependency-submission@v4
21+ if : ${{ github.ref == 'refs/heads/master' }}
22+
23+ - name : Build
24+ run : ./gradlew shadowJar
25+
26+ - name : Run checks
27+ run : ./gradlew check
28+
29+ - name : Run integration tests
30+ run : ./gradlew integrationTest
31+
32+ - name : Upload artifact
33+ uses : actions/upload-artifact@v4
34+ with :
35+ name : Agent package
36+ path : agent/build/libs
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments