From 71dc77d73a2e95a5bdc958686387cf23065c677e Mon Sep 17 00:00:00 2001 From: weisj Date: Mon, 23 Mar 2020 15:21:31 +0100 Subject: [PATCH] Fixed missing build directory when creating documentation. --- .github/workflows/documentation.yml | 2 +- core/build.gradle.kts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index d2eb537a..7ec9aaff 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -20,7 +20,7 @@ jobs: java-version: 11 - uses: eskatos/gradle-command-action@v1 with: - arguments: :darklaf-core:CreateUITable.main() + arguments: :darklaf-core:makeDocumentation - name: Upload documentation uses: actions/upload-artifact@v1 with: diff --git a/core/build.gradle.kts b/core/build.gradle.kts index 3f39731a..cedf2a7e 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -36,10 +36,11 @@ tasks.jar { val makeDocumentation by tasks.registering(JavaExec::class) { group = "Development" - description = "Builds and starts JMeter GUI" + description = "Builds the documentation" dependsOn(tasks.testClasses) workingDir = File(project.rootDir, "build") + workingDir.mkdirs() main = "documentation.CreateUITable" classpath(sourceSets.main.get().runtimeClasspath, sourceSets.test.get().runtimeClasspath) }