From 143818abb87269bde21d1372205d61d2e9fae173 Mon Sep 17 00:00:00 2001 From: affonsov Date: Fri, 28 Jun 2024 10:15:03 -0700 Subject: [PATCH] trying to make the workflow to build --- .github/workflows/java-cd.yml | 1 + .github/workflows/java.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/java-cd.yml b/.github/workflows/java-cd.yml index 57ccae6529..dad351bfd6 100644 --- a/.github/workflows/java-cd.yml +++ b/.github/workflows/java-cd.yml @@ -3,6 +3,7 @@ name: Java Prepare Deployment on: pull_request: paths: + - java/** - .github/workflows/java-cd.yml - .github/workflows/install-shared-dependencies/action.yml - .github/workflows/start-self-hosted-runner/action.yml diff --git a/.github/workflows/java.yml b/.github/workflows/java.yml index 1fa42a4bc6..d4cd233269 100644 --- a/.github/workflows/java.yml +++ b/.github/workflows/java.yml @@ -87,7 +87,7 @@ jobs: - name: Build java client working-directory: java - run: ./gradlew --continue build + run: ./gradlew --continue build :client:publishToMavenLocal -Psigning.secretKeyRingFile=secring.gpg -Psigning.password="${{ secrets.GPG_PASSWORD }}" -Psigning.keyId=${{ secrets.GPG_KEY_ID }} - name: Ensure no skipped files by linter working-directory: java @@ -166,7 +166,7 @@ jobs: - name: Build java part working-directory: java - run: ./gradlew --continue build + run: ./gradlew --continue build :client:publishToMavenLocal -Psigning.secretKeyRingFile=secring.gpg -Psigning.password="${{ secrets.GPG_PASSWORD }}" -Psigning.keyId=${{ secrets.GPG_KEY_ID }} - name: Upload test reports if: always()