Skip to content

Commit

Permalink
Stop building nightlies on gradle file changes; fix errored root buil…
Browse files Browse the repository at this point in the history
…dscript
  • Loading branch information
robotgryphon committed Apr 4, 2024
1 parent 059746e commit 2988f07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/nightly-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
- "README.md"
- "LICENSE"
- ".github/**/*"
- "**/*.gradle.kts"
- "**/gradle.properties"

jobs:
vars:
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
tasks.create("mcVersion") {
doFirst {
val mc = libraries.versions.minecraft.get()
println($"version=$mc")
println("version=$mc")
}
}

tasks.create("neoVersion") {
doFirst {
val neo = libraries.versions.neoforge.get()
println($"version=$neo")
println("version=$neo")
}
}

0 comments on commit 2988f07

Please sign in to comment.