From 8c3287b629c78a21bf5d379cd5f6434c6744447f Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Tue, 5 Dec 2023 10:51:20 +0100 Subject: [PATCH] Updated globs --- .github/workflows/build-java.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-java.yaml b/.github/workflows/build-java.yaml index 59399a85..764f03fd 100644 --- a/.github/workflows/build-java.yaml +++ b/.github/workflows/build-java.yaml @@ -6,13 +6,14 @@ on: branches: - main paths: - - 'java-engine/**.java' + - 'java-engine/src/**/*.java' + - 'java-engine/build.gradle.kts' # Build in main if anything changes in yggdrasil or the ffi layer - - 'unleash-yggdrasil/src/**.rs' - - 'yggdrasilffi/src/**.rs' + - 'unleash-yggdrasil/src/**/*.rs' + - 'yggdrasilffi/src/**/*.rs' pull_request: paths: - - 'java-engine/**.java' + - 'java-engine/**/*.java' jobs: build-java: @@ -23,7 +24,7 @@ jobs: actions: read steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 ## begin build yggdrasil (maybe this can be a separate job) - name: Install rust