Skip to content

Commit e8d0dc5

Browse files
committed
select java ver with path
1 parent b9c13de commit e8d0dc5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/cd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- run: echo $GITHUB_REF_NAME
1616
- run: mkdir build && chmod a+rwx . documentation build
1717
- run: podman build -t quay.io/rigazilla/ci-build-centos-8:latest -f ci-build/centos-stream8.Dockerfile .
18-
- 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"
18+
- 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"
1919
- uses: ncipollo/release-action@v1
2020
with:
2121
artifacts: "build/*.rpm,builddeb/*.deb"

.github/workflows/memcheck.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- run: podman build -t quay.io/rigazilla/ci-build-centos-9:latest -f ci-build/centos-stream9.Dockerfile .
4848
- name: Run CI tests
4949
id: ci-tests
50-
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"
50+
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"
5151
- name: Archive memcheck results
5252
if: failure() || success()
5353
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)