diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4ae7cb7..3084d1e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,7 +55,9 @@ jobs: java-version: ${{ matrix.java }} cache: maven - name: Test with Maven - run: mvn -e --batch-mode clean verify -Dfile.encoding=UTF8 + env: + JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 + run: mvn -e --batch-mode clean verify - name: Run Codecov uses: codecov/codecov-action@v4 with: