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