aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/snapshot-publish.yml4
-rw-r--r--build.gradle.kts4
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/snapshot-publish.yml b/.github/workflows/snapshot-publish.yml
index 5419f70..042ef5f 100644
--- a/.github/workflows/snapshot-publish.yml
+++ b/.github/workflows/snapshot-publish.yml
@@ -36,5 +36,5 @@ jobs:
- name: Build with Gradle
run: ./gradlew publishAllPublicationsToSnapshotsRepository --no-daemon
env:
- "[xander-repo.username]": ${{ secrets.REPO_USERNAME }}
- "[xander-repo.password]": ${{ secrets.REPO_PASSWORD }}
+ XANDER_MAVEN_USER: ${{ secrets.REPO_USERNAME }}
+ XANDER_MAVEN_PASS: ${{ secrets.REPO_PASSWORD }}
diff --git a/build.gradle.kts b/build.gradle.kts
index deefb49..e390e4f 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -180,8 +180,8 @@ publishing {
}
repositories {
- val username = "xander-repo.username".let { System.getenv(it) ?: findProperty(it) }?.toString()
- val password = "xander-repo.password".let { System.getenv(it) ?: findProperty(it) }?.toString()
+ val username = "XANDER_MAVEN_USER".let { System.getenv(it) ?: findProperty(it) }?.toString()
+ val password = "XANDER_MAVEN_PASS".let { System.getenv(it) ?: findProperty(it) }?.toString()
if (username != null && password != null) {
maven(url = "https://maven.isxander.dev/releases") {
name = "Releases"