From 00d8b1d502af64ac2f8dbed319620727ea08cfd7 Mon Sep 17 00:00:00 2001 From: dvirtz Date: Thu, 22 Aug 2024 10:04:33 +0100 Subject: [PATCH] ci: test on Java 8 avoids "Illegal reflective access" warning when running parquet-tools --- .github/workflows/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ff8099d..5e9669b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,6 +47,10 @@ jobs: with: path: ${{ env.CONAN_HOME }} key: ${{ matrix.os }}-conan-${{ hashFiles('packages/parquet-reader/conanfile.txt') }} + - name: Use Java 8 + run: | + echo "JAVA_HOME=${JAVA_HOME_8_X64}" >> $GITHUB_ENV + echo "PATH=${JAVA_HOME_8_X64}/bin:${PATH}" >> $GITHUB_ENV - run: npm ci --forward-scripts - name: Static checks run: |