From 0cb11e9d341b60b75449f78a41dbc6343d2f6c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Kwiecin=CC=81ski?= Date: Wed, 6 Sep 2023 00:17:28 +0200 Subject: [PATCH] Disable VFS to speed up Windows builds --- .github/workflows/default.yml | 3 +++ .github/workflows/dependencies.yml | 1 + .github/workflows/diffuse.yml | 1 + .github/workflows/publish_release.yml | 1 + .github/workflows/publish_snapshot.yml | 2 ++ 5 files changed, 8 insertions(+) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 4f4c6ba..a503add 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -27,6 +27,7 @@ jobs: run: | mkdir -p ~/.gradle printf "org.gradle.jvmargs=-Xmx3G -XX:+UseParallelGC\n" >> ~/.gradle/gradle.properties + printf "org.gradle.vfs.watch=false\n" >> ~/.gradle/gradle.properties shell: bash - uses: actions/setup-java@v3 @@ -86,6 +87,7 @@ jobs: run: | mkdir -p ~/.gradle printf "org.gradle.jvmargs=-Xmx3G -XX:+UseParallelGC\n" >> ~/.gradle/gradle.properties + printf "org.gradle.vfs.watch=false\n" >> ~/.gradle/gradle.properties shell: bash - uses: actions/setup-java@v3 @@ -157,6 +159,7 @@ jobs: run: | mkdir -p ~/.gradle printf "org.gradle.jvmargs=-Xmx3G -XX:+UseParallelGC\n" >> ~/.gradle/gradle.properties + printf "org.gradle.vfs.watch=false\n" >> ~/.gradle/gradle.properties shell: bash - uses: actions/setup-java@v3 diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index 28901d1..fa0b7c8 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -29,6 +29,7 @@ jobs: run: | mkdir -p ~/.gradle printf "org.gradle.jvmargs=-Xmx3G -XX:+UseParallelGC\n" >> ~/.gradle/gradle.properties + printf "org.gradle.vfs.watch=false\n" >> ~/.gradle/gradle.properties shell: bash - uses: actions/setup-java@v3 diff --git a/.github/workflows/diffuse.yml b/.github/workflows/diffuse.yml index 68bdc75..df8bb2c 100644 --- a/.github/workflows/diffuse.yml +++ b/.github/workflows/diffuse.yml @@ -33,6 +33,7 @@ jobs: run: | mkdir -p ~/.gradle printf "org.gradle.jvmargs=-Xmx3G -XX:+UseParallelGC\n" >> ~/.gradle/gradle.properties + printf "org.gradle.vfs.watch=false\n" >> ~/.gradle/gradle.properties shell: bash - uses: actions/setup-java@v3 diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 8c68a90..19d1930 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -27,6 +27,7 @@ jobs: run: | mkdir -p ~/.gradle printf "org.gradle.jvmargs=-Xmx3G -XX:+UseParallelGC\n" >> ~/.gradle/gradle.properties + printf "org.gradle.vfs.watch=false\n" >> ~/.gradle/gradle.properties shell: bash - uses: actions/setup-java@v3 diff --git a/.github/workflows/publish_snapshot.yml b/.github/workflows/publish_snapshot.yml index 7087b5c..4c017d3 100644 --- a/.github/workflows/publish_snapshot.yml +++ b/.github/workflows/publish_snapshot.yml @@ -29,6 +29,7 @@ jobs: run: | mkdir -p ~/.gradle printf "org.gradle.jvmargs=-Xmx3G -XX:+UseParallelGC\n" >> ~/.gradle/gradle.properties + printf "org.gradle.vfs.watch=false\n" >> ~/.gradle/gradle.properties shell: bash - uses: actions/setup-java@v3 @@ -61,6 +62,7 @@ jobs: run: | mkdir -p ~/.gradle printf "org.gradle.jvmargs=-Xmx3G -XX:+UseParallelGC\n" >> ~/.gradle/gradle.properties + printf "org.gradle.vfs.watch=false\n" >> ~/.gradle/gradle.properties shell: bash - uses: actions/setup-java@v3