Skip to content

Commit

Permalink
build: only build server for action
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolLoong committed Mar 11, 2024
1 parent ff465a3 commit 64ac289
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,11 @@ jobs:
with:
gradle-version: wrapper
cache-overwrite-existing: true
cache-read-only: false
build-scan-publish: true
build-scan-terms-of-service-url: "https://gradle.com/terms-of-service"
build-scan-terms-of-service-agree: "yes"
arguments: buildForGithubAction --scan
arguments: buildForGithubAction -p Allay-Server --scan
- name: Upload Allay-API
uses: actions/upload-artifact@v4
if: success() && contains(github.ref_name, 'master')
Expand Down
4 changes: 0 additions & 4 deletions Allay-CodeGen/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,4 @@ dependencies {
implementation(libs.gson)
implementation(libs.fastutil)
implementation(libs.annotations)
}

tasks.buildForGithubAction {
enabled = false
}
4 changes: 0 additions & 4 deletions Allay-Data/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ dependencies {
implementation(project(":Allay-Server"))
}

tasks.buildForGithubAction {
enabled = false
}

tasks.processResources {
from("${rootProject.projectDir}/Allay-Data/resources")
include("unpacked/**")
Expand Down
4 changes: 0 additions & 4 deletions Allay-ExamplePlugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ dependencies {
compileOnly(project(":Allay-API"))
}

tasks.buildForGithubAction {
enabled = false
}

tasks.shadowJar {
destinationDirectory = File("${rootProject.projectDir}/.run/plugins")
}
4 changes: 0 additions & 4 deletions Allay-SparkPlugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ dependencies {
}
}

tasks.buildForGithubAction {
enabled = false
}

tasks.processResources {
filesMatching("plugin.json") {
expand(
Expand Down

0 comments on commit 64ac289

Please sign in to comment.