aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxander <xander@isxander.dev>2022-09-01 20:30:14 +0100
committerxander <xander@isxander.dev>2022-09-01 20:30:14 +0100
commitb5a3f28028c7ccf1ae860e45ec809455510283d6 (patch)
tree18c6801745661efe27872fc86054f4a0c44de7cf
parent835916f70d9fc5a228d40d830e406b8abe022a1f (diff)
downloadYetAnotherConfigLib-b5a3f28028c7ccf1ae860e45ec809455510283d6.tar.gz
YetAnotherConfigLib-b5a3f28028c7ccf1ae860e45ec809455510283d6.tar.bz2
YetAnotherConfigLib-b5a3f28028c7ccf1ae860e45ec809455510283d6.zip
fix ci maybe x2
-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"