Skip to content

Commit

Permalink
read-cache-expt
Browse files Browse the repository at this point in the history
  • Loading branch information
chakru-r committed Mar 10, 2025
1 parent 5574971 commit 54fb155
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/build-jars-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: build jars
on:
push:
branches:
- read-cache-workflow
# master
paths-ignore:
- "docs/**"
- "**.md"
pull_request:
branches:
- "read-cache-workflow"

paths-ignore:
- "docs/**"
- "**.md"
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build-jars:
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- name: Check out the repo
uses: acryldata/sane-checkout-action@v3

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: "zulu"
java-version: 17

- uses: gradle/actions/setup-gradle@v4
with:
gradle-home-cache-key: build-jars-cache-key
cache-read-only

- name: Build JARs
run: |
./gradlew jar -x datahub-web-react:jar -x datahub-frontend:jar --parallel --info
# - uses: actions/upload-artifact@v4
# if: always()
# with:
# name: Build Artifacts
# path: |
# **/build/libs/*.jar
# !**/build/libs/*-sources.jar
# !**/build/libs/*-javadoc.jar

0 comments on commit 54fb155

Please sign in to comment.