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
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false -PmatrixOrgPrivateToken="
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
before_script:
- export GRADLE_USER_HOME=$(pwd)/.gradle

View file

@ -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)