Skip to content

Commit bbb6ba6

Browse files
committed
Add GH action step to test shadowJar
1 parent 398e552 commit bbb6ba6

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/pr-build.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,29 @@ jobs:
3030
remote-build-cache-proxy-enabled: false
3131
build-root-directory: ${{matrix.build-root}}
3232
arguments: test
33+
shadow:
34+
strategy:
35+
matrix:
36+
java-version: [11]
37+
name: Shadow Jar Build
38+
runs-on: ubuntu-latest
39+
steps:
40+
- id: checkout-repo
41+
uses: actions/checkout@v2
42+
with:
43+
fetch-depth: 0
44+
- id: setup-java
45+
name: Setup Java ${{matrix.java-version}}
46+
uses: actions/setup-java@v1
47+
with:
48+
java-version: ${{matrix.java-version}}
49+
- id: setup-gradle-cache
50+
name: Run Gradle Build with ShadowJar
51+
uses: burrunan/[email protected]
52+
with:
53+
job-id: gradle-shadow-java-${{matrix.java-version}}
54+
remote-build-cache-proxy-enabled: false
55+
build-root-directory: .
3356
style:
3457
name: Stylecheck (${{matrix.name || matrix.build-root}})
3558
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)