this should fix CI

This commit is contained in:
Hubert Chathi 2021-09-29 22:20:38 -04:00
parent af1ae08dda
commit e5ed739436
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ stages:
- test - test
variables: variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false -PmatrixOrgPrivateToken=" GRADLE_OPTS: "-Dorg.gradle.daemon=false"
before_script: before_script:
- export GRADLE_USER_HOME=$(pwd)/.gradle - export GRADLE_USER_HOME=$(pwd)/.gradle

View file

@ -170,8 +170,8 @@ project.afterEvaluate {
maven { maven {
url "https://gitlab.matrix.org/api/v4/projects/27/packages/maven" url "https://gitlab.matrix.org/api/v4/projects/27/packages/maven"
credentials(HttpHeaderCredentials) { credentials(HttpHeaderCredentials) {
name = "Deploy-Token" name = System.getenv("REPO_TOKEN_TYPE")
value = matrixOrgPrivateToken value = System.getenv("REPO_TOKEN")
} }
authentication { authentication {
header(HttpHeaderAuthentication) header(HttpHeaderAuthentication)