diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 34a53ba8ae..433ca72673 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,7 +50,7 @@ jobs: env: SCALA_VERSION: ${{ matrix.scala }} JAVA_VERSION: ${{ matrix.java }} - run: ./build.sh nix test + run: ./build.sh nix gen test # # build-js: # runs-on: ubuntu-latest diff --git a/devops/.env.sh b/devops/.env.sh index 26b95a621e..0136b229e7 100755 --- a/devops/.env.sh +++ b/devops/.env.sh @@ -25,9 +25,6 @@ JDK_VERSION_VAR="JDK${JAVA_VERSION}" export JAVA_HOME="${!JDK_VERSION_VAR}" export PATH=$JAVA_HOME/bin:$PATH -export COURSIER_CACHE="$HOME/.cache/coursier" -mkdir -p "${COURSIER_CACHE}" - -export _JAVA_OPTIONS="-Dcoursier.cache=${COURSIER_CACHE} -Xmx4000M -XX:ReservedCodeCacheSize=384M -XX:NonProfiledCodeHeapSize=256M -XX:MaxMetaspaceSize=1024M" +export _JAVA_OPTIONS="-Duser.home=${HOME} -Xmx4000M -XX:ReservedCodeCacheSize=384M -XX:NonProfiledCodeHeapSize=256M -XX:MaxMetaspaceSize=1024M" env \ No newline at end of file