Skip to content

Commit e02c7c7

Browse files
committed
[exclc] Put temp files in temp folder rather than build
1 parent ba672b9 commit e02c7c7

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
file-url: 'https://github.com/DynamicTreesTeam/DynamicTreesVersionInfo/blob/master/DynamicTrees.json?raw=true'
3030
file-name: 'version_info.json'
31-
location: './build'
31+
location: './temp'
3232
- name: Fetch full repo so tags are retrievable
3333
run: git fetch --prune --unshallow
3434
- name: Run autoUpdate task
@@ -43,7 +43,7 @@ jobs:
4343
env:
4444
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
4545
with:
46-
source_file: 'build/version_info.json'
46+
source_file: 'temp/version_info.json'
4747
destination_repo: 'DynamicTreesTeam/DynamicTreesVersionInfo'
4848
destination_branch: 'master'
4949
rename: 'DynamicTrees.json'

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ eclipse
2222
run
2323
run-server
2424
libs
25-
mcmodsrepo
25+
mcmodsrepo
26+
temp

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ java {
130130
}
131131
}
132132

133-
val changelogFile = file("build/changelog.txt")
133+
val changelogFile = file("temp/changelog.txt")
134134

135135
curseforge {
136136
val curseApiKey = optionalProperty("curseApiKey") ?: System.getenv("CURSEFORGE_API_KEY")
@@ -257,7 +257,7 @@ autoUpdateTool {
257257
version.set(modVersion)
258258
versionRecommended.set(property("versionRecommended") == "true")
259259
changelogOutputFile.set(changelogFile)
260-
updateCheckerFile.set(file("build/version_info.json"))
260+
updateCheckerFile.set(file("temp/version_info.json"))
261261
}
262262

263263
tasks.autoUpdate {

0 commit comments

Comments
 (0)