From 3a498ef0cab6f48d43b6c4cb4d4f37c14a1ddb56 Mon Sep 17 00:00:00 2001 From: Andrew Charneski Date: Sun, 6 Oct 2024 19:04:07 -0400 Subject: [PATCH] disable sass in github actions --- .github/workflows/build.yml | 2 +- .github/workflows/publish.yml | 4 ++-- .gitignore | 1 + webui/build.gradle.kts | 3 +++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3efab799..9d424bff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,4 +16,4 @@ jobs: - name: Set Gradle options run: echo "GRADLE_OPTS='-Xmx4g'" >> $GITHUB_ENV - name: Build and test - run: ./gradlew build \ No newline at end of file + run: ./gradlew build -PskipSass \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6e50d8ba..8dc3355f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,7 +9,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK 11 - uses: actions/setup-java@v2 + - uses: actions/setup-java@v2 with: java-version: 11 distribution: 'temurin' @@ -24,4 +24,4 @@ jobs: OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} GITHUB_TOKEN: ${{ secrets._GITHUB_TOKEN }} - run: ./gradlew publish -x test --no-configuration-cache --no-daemon --no-build-cache --no-parallel + run: ./gradlew publish -PskipSass -x test --no-configuration-cache --no-daemon --no-build-cache --no-parallel diff --git a/.gitignore b/.gitignore index b925fc56..807493bc 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ openai.key *.log *.log.* client_secret_google_oauth.json +settings.gradle.kts diff --git a/webui/build.gradle.kts b/webui/build.gradle.kts index c90595f5..b6b60618 100644 --- a/webui/build.gradle.kts +++ b/webui/build.gradle.kts @@ -138,6 +138,9 @@ tasks { ) } } +tasks.withType().configureEach { + onlyIf { !project.hasProperty("skipSass") } +} val javadocJar by tasks.registering(Jar::class) {