From e8d0dc58b671a205e3b7865f7c68eba1be0dbdf3 Mon Sep 17 00:00:00 2001 From: rigazilla Date: Thu, 1 Feb 2024 15:59:29 +0100 Subject: [PATCH] select java ver with path --- .github/workflows/cd.yaml | 2 +- .github/workflows/memcheck.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 626345ee..44432654 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -15,7 +15,7 @@ jobs: - run: echo $GITHUB_REF_NAME - run: mkdir build && chmod a+rwx . documentation build - run: podman build -t quay.io/rigazilla/ci-build-centos-8:latest -f ci-build/centos-stream8.Dockerfile . - - run: podman run -v `pwd`:/home/jboss/cpp-client quay.io/rigazilla/ci-build-centos-8:latest /bin/bash -c "cd cpp-client && INFINISPAN_VERSION=15.0.0.Dev07 CLIENT_VERSION=$GITHUB_REF_NAME PLATFORM_TAG=el8 ./build.sh" + - run: podman run -v `pwd`:/home/jboss/cpp-client quay.io/rigazilla/ci-build-centos-8:latest /bin/bash -c "cd cpp-client && PATH=\$JAVA_HOME/bin:$PATH INFINISPAN_VERSION=15.0.0.Dev07 CLIENT_VERSION=$GITHUB_REF_NAME PLATFORM_TAG=el8 ./build.sh" - uses: ncipollo/release-action@v1 with: artifacts: "build/*.rpm,builddeb/*.deb" diff --git a/.github/workflows/memcheck.yaml b/.github/workflows/memcheck.yaml index d5e0c8c5..45659258 100644 --- a/.github/workflows/memcheck.yaml +++ b/.github/workflows/memcheck.yaml @@ -47,7 +47,7 @@ jobs: - run: podman build -t quay.io/rigazilla/ci-build-centos-9:latest -f ci-build/centos-stream9.Dockerfile . - name: Run CI tests id: ci-tests - run: podman run -v `pwd`:/home/jboss/cpp-client quay.io/rigazilla/ci-build-centos-9:latest /bin/bash -c "cd cpp-client && INFINISPAN_VERSION=15.0.0.Dev07 CLIENT_VERSION=$GITHUB_BASE_REF.$GITHUB_REF_SLUG PLATFORM_TAG=el9 ./build.sh MEMCHECK" + run: podman run -v `pwd`:/home/jboss/cpp-client quay.io/rigazilla/ci-build-centos-9:latest /bin/bash -c "cd cpp-client && PATH=\$JAVA_HOME/bin:$PATH INFINISPAN_VERSION=15.0.0.Dev07 CLIENT_VERSION=$GITHUB_BASE_REF.$GITHUB_REF_SLUG PLATFORM_TAG=el9 ./build.sh MEMCHECK" - name: Archive memcheck results if: failure() || success() uses: actions/upload-artifact@v3