Skip to content

Commit

Permalink
Update build, and Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nomisRev committed Jul 3, 2024
1 parent eaa01b6 commit 1070a9a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-version-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-development-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 0 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
}
Expand Down

0 comments on commit 1070a9a

Please sign in to comment.