forked from mirror/BlueMap
Fix github build
This commit is contained in:
parent
ee55476580
commit
50908b9f6a
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
||||
21
|
||||
cache: 'gradle'
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew clean spotlessCheck test build
|
||||
run: ./gradlew clean spotlessCheck test release
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: artifacts
|
||||
|
@ -26,7 +26,7 @@ fun Project.gitVersion(): String {
|
||||
|
||||
private fun Project.runCommand(cmd: String, fallback: String? = null): String {
|
||||
ProcessBuilder(cmd.split("\\s(?=(?:[^'\"`]*(['\"`])[^'\"`]*\\1)*[^'\"`]*$)".toRegex()))
|
||||
.directory(rootProject.projectDir)
|
||||
.directory(projectDir)
|
||||
.redirectOutput(ProcessBuilder.Redirect.PIPE)
|
||||
.redirectError(ProcessBuilder.Redirect.PIPE)
|
||||
.start()
|
||||
|
Loading…
Reference in New Issue
Block a user