Skip to content

Commit 8a202ee

Browse files
committed
read-cache-expt
1 parent 5574971 commit 8a202ee

File tree

2 files changed

+54
-1
lines changed

2 files changed

+54
-1
lines changed
+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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

.github/workflows/build-jars.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
gradle-home-cache-key: build-jars-cache-key
3939
cache-write-only: true
40-
40+
4141
- name: Build JARs
4242
run: |
4343
./gradlew jar -x datahub-web-react:jar -x datahub-frontend:jar --parallel --info

0 commit comments

Comments
 (0)