Skip to content

read-cache-expt

read-cache-expt #2

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

Check failure on line 40 in .github/workflows/build-jars-branch.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-jars-branch.yml

Invalid workflow file

You have an error in your yaml syntax on line 40
- 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