From b5a3f28028c7ccf1ae860e45ec809455510283d6 Mon Sep 17 00:00:00 2001 From: xander Date: Thu, 1 Sep 2022 20:30:14 +0100 Subject: fix ci maybe x2 --- .github/workflows/snapshot-publish.yml | 4 ++-- build.gradle.kts | 4 ++-- 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" -- cgit