From e5ed73943656d2479d67c5ed6860f894d9af3834 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Wed, 29 Sep 2021 22:20:38 -0400 Subject: [PATCH] this should fix CI --- android/.gitlab-ci.yml | 2 +- android/olm-sdk/build.gradle | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/android/.gitlab-ci.yml b/android/.gitlab-ci.yml index 059eb12..e189874 100644 --- a/android/.gitlab-ci.yml +++ b/android/.gitlab-ci.yml @@ -6,7 +6,7 @@ stages: - test variables: - GRADLE_OPTS: "-Dorg.gradle.daemon=false -PmatrixOrgPrivateToken=" + GRADLE_OPTS: "-Dorg.gradle.daemon=false" before_script: - export GRADLE_USER_HOME=$(pwd)/.gradle diff --git a/android/olm-sdk/build.gradle b/android/olm-sdk/build.gradle index 30664a3..f6c0477 100644 --- a/android/olm-sdk/build.gradle +++ b/android/olm-sdk/build.gradle @@ -170,8 +170,8 @@ project.afterEvaluate { maven { url "https://gitlab.matrix.org/api/v4/projects/27/packages/maven" credentials(HttpHeaderCredentials) { - name = "Deploy-Token" - value = matrixOrgPrivateToken + name = System.getenv("REPO_TOKEN_TYPE") + value = System.getenv("REPO_TOKEN") } authentication { header(HttpHeaderAuthentication)