diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 8a2c27682..2d7e2e4de 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -5,7 +5,7 @@ on: - master jobs: build: - # if: "contains(github.event.head_commit.message, 'dev')" + if: "contains(github.event.head_commit.message, 'dev')" runs-on: ubuntu-latest steps: # 环境配置 diff --git a/build.gradle.kts b/build.gradle.kts index c1675061a..af06a9ff1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -91,7 +91,9 @@ fun PublishingExtension.applyToSub(subProject: Project) { create("maven") { artifactId = subProject.name groupId = "io.izzel.taboolib" - version = (if (project.hasProperty("dev")) { + version = (if (project.hasProperty("devLocal")) { + "${project.version}-local-dev" + } else if (project.hasProperty("dev")) { "${project.version}-dev" } else { "${project.version}"