Skip to content

Commit

Permalink
disable sass in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
acharneski committed Oct 6, 2024
1 parent b51811c commit 3a498ef
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
- name: Set Gradle options
run: echo "GRADLE_OPTS='-Xmx4g'" >> $GITHUB_ENV
- name: Build and test
run: ./gradlew build
run: ./gradlew build -PskipSass
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ openai.key
*.log
*.log.*
client_secret_google_oauth.json
settings.gradle.kts
3 changes: 3 additions & 0 deletions webui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ tasks {
)
}
}
tasks.withType<io.freefair.gradle.plugins.sass.SassCompile>().configureEach {
onlyIf { !project.hasProperty("skipSass") }
}


val javadocJar by tasks.registering(Jar::class) {
Expand Down

0 comments on commit 3a498ef

Please sign in to comment.