Skip to content

Commit bc1d82e

Browse files
authored
feat(abg): prefix the temporary directories (#1614)
1 parent 7db3f7d commit bc1d82e

File tree

1 file changed

+2
-2
lines changed
  • maven-binding-builder/src/main/kotlin/io/github/typesafegithub/workflows/mavenbinding

1 file changed

+2
-2
lines changed

maven-binding-builder/src/main/kotlin/io/github/typesafegithub/workflows/mavenbinding/JarBuilding.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ private fun generateBinding(
6767
}
6868

6969
private fun compileBinding(sourceFilePaths: List<Path>): Path {
70-
val compilationOutput = createTempDirectory()
70+
val compilationOutput = createTempDirectory(prefix = "gwkt-classes_")
7171

7272
val args =
7373
K2JVMCompilerArguments().apply {
@@ -98,7 +98,7 @@ private fun compileBinding(sourceFilePaths: List<Path>): Path {
9898
}
9999

100100
private fun List<ActionBinding>.prepareDirectoryWithSources(): Pair<List<Path>, Path> {
101-
val directory = createTempDirectory()
101+
val directory = createTempDirectory(prefix = "gwkt-sources_")
102102
val sourceFilePaths =
103103
this
104104
.map { binding ->

0 commit comments

Comments
 (0)