From 1070a9afec044bf9970b3c4151186ba24befd308 Mon Sep 17 00:00:00 2001 From: Simon Vergauwen Date: Wed, 3 Jul 2024 10:10:35 +0200 Subject: [PATCH] Update build, and Github Actions --- .github/workflows/create-version-tag.yml | 2 +- .github/workflows/publish-development-version.yml | 2 +- .github/workflows/publish.yml | 2 +- build.gradle.kts | 2 -- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/create-version-tag.yml b/.github/workflows/create-version-tag.yml index 8be17b4a3..630caef92 100644 --- a/.github/workflows/create-version-tag.yml +++ b/.github/workflows/create-version-tag.yml @@ -23,7 +23,7 @@ jobs: - name: Build uses: gradle/gradle-build-action@v3 with: - arguments: :xef-openai-client-generator:openaiClientGenerate build + arguments: build - name: Read version id: read-version diff --git a/.github/workflows/publish-development-version.yml b/.github/workflows/publish-development-version.yml index 1d0aa7895..7406faab7 100644 --- a/.github/workflows/publish-development-version.yml +++ b/.github/workflows/publish-development-version.yml @@ -34,7 +34,7 @@ jobs: - name: Assemble uses: gradle/gradle-build-action@v3 with: - arguments: :xef-openai-client-generator:openaiClientGenerate assemble + arguments: assemble - name: Upload reports if: failure() diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b324b6eb4..9498adf8e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,7 +32,7 @@ jobs: - name: Assemble uses: gradle/gradle-build-action@v3 with: - arguments: :xef-openai-client-generator:openaiClientGenerate assemble + arguments: assemble - name: Upload reports if: failure() diff --git a/build.gradle.kts b/build.gradle.kts index 031f04b0a..594022ff9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -28,12 +28,10 @@ fun Project.configureBuildAndTestTask(taskName: String, moduleType: ModulePlatfo doLast { when (moduleType) { ModulePlatformType.SINGLE -> { - project.exec { commandLine(gradleCommand, ":xef-openai-client-generator:openaiClientGenerate") } val excludedModules = includeOrNotModulesToCommand(multiPlatformModules, platform, false) project.exec { commandLine(gradleCommand, "build", *excludedModules) } } ModulePlatformType.MULTI -> { - project.exec { commandLine(gradleCommand, ":xef-openai-client-generator:openaiClientGenerate") } val includedModules = includeOrNotModulesToCommand(multiPlatformModules, platform, true) project.exec { commandLine(gradleCommand, *includedModules) } }