Commit 5574971 1 parent cb3e970 commit 5574971 Copy full SHA for 5574971
File tree 1 file changed +52
-0
lines changed
1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : build jars
2
+ on :
3
+ push :
4
+ branches :
5
+ - load-cache-workflow
6
+ # master
7
+ paths-ignore :
8
+ - " docs/**"
9
+ - " **.md"
10
+ pull_request :
11
+ branches :
12
+ - " load-cache-workflow"
13
+ paths-ignore :
14
+ - " docs/**"
15
+ - " **.md"
16
+ workflow_dispatch :
17
+
18
+ concurrency :
19
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
20
+ cancel-in-progress : true
21
+
22
+ jobs :
23
+ build-jars :
24
+ runs-on : ubuntu-latest
25
+ timeout-minutes : 45
26
+ steps :
27
+ - name : Check out the repo
28
+ uses : acryldata/sane-checkout-action@v3
29
+
30
+ - name : Set up JDK 17
31
+ uses : actions/setup-java@v4
32
+ with :
33
+ distribution : " zulu"
34
+ java-version : 17
35
+
36
+ - uses : gradle/actions/setup-gradle@v4
37
+ with :
38
+ gradle-home-cache-key : build-jars-cache-key
39
+ cache-write-only : true
40
+
41
+ - name : Build JARs
42
+ run : |
43
+ ./gradlew jar -x datahub-web-react:jar -x datahub-frontend:jar --parallel --info
44
+
45
+ # - uses: actions/upload-artifact@v4
46
+ # if: always()
47
+ # with:
48
+ # name: Build Artifacts
49
+ # path: |
50
+ # **/build/libs/*.jar
51
+ # !**/build/libs/*-sources.jar
52
+ # !**/build/libs/*-javadoc.jar
You can’t perform that action at this time.
0 commit comments