File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 2929 - name : Build Documentation
3030 run : ./gradlew embedDokkaIntoMkDocs
3131 env :
32- GITHUB_USERNAME : ${{ secrets.GITHUB_ACTOR }}
3332 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3433
3534 - uses : actions/cache@v4
Original file line number Diff line number Diff line change @@ -20,16 +20,16 @@ architectury.minecraft = libs.versions.minecraft.get()
2020
2121val localProperties = kotlin.runCatching { loadProperties(" $rootDir /local.properties" ) }.getOrNull()
2222
23- val String .prop: String
24- get() = rootProject.properties[this ].toString()
23+ val String .prop: String?
24+ get() = rootProject.properties[this ]? .toString()
2525
26- val String .local: String
27- get() = localProperties?.get(this ).toString()
26+ val String .local: String?
27+ get() = localProperties?.get(this )? .toString()
2828
29- val String .env: String
29+ val String .env: String?
3030 get() = System .getenv(this )
3131
32- val String .localOrEnv: String
32+ val String .localOrEnv: String?
3333 get() = localProperties?.get(this )?.toString() ? : System .getenv(this .uppercase())
3434
3535subprojects {
@@ -42,7 +42,7 @@ subprojects {
4242 }
4343
4444 repositories {
45- val githubUsername = " github_username " .localOrEnv
45+ val githubUsername = " github_actor " .localOrEnv
4646 val githubToken = " github_token" .localOrEnv
4747 mavenCentral()
4848 mavenLocal()
You can’t perform that action at this time.
0 commit comments