Skip to content

Commit 22257a6

Browse files
committed
ci
1 parent 97ca981 commit 22257a6

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/docs.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ jobs:
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

build.gradle.kts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ architectury.minecraft = libs.versions.minecraft.get()
2020

2121
val 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

3535
subprojects {
@@ -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()

0 commit comments

Comments
 (0)