This is an automated email from the ASF dual-hosted git repository.
matrei pushed a commit to branch 5.0.x
in repository https://gitbox.apache.org/repos/asf/grails-redis.git
The following commit(s) were added to refs/heads/5.0.x by this push:
new b566937 build: update develocity auth (#181)
b566937 is described below
commit b566937d14216241826401a39c08e2b5e53a5f28
Author: Mattias Reichel <[email protected]>
AuthorDate: Mon Apr 14 17:35:49 2025 +0200
build: update develocity auth (#181)
---
.github/workflows/gradle.yml | 1 -
settings.gradle | 5 ++---
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index 377ae07..0b4363a 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -43,7 +43,6 @@ jobs:
env:
REDIS_HOST: redis
REDIS_PORT: 6379
- DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
run: ./gradlew build --continue
publish_snapshot:
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
diff --git a/settings.gradle b/settings.gradle
index b7e0fc1..25db824 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -5,14 +5,13 @@ plugins {
def isCI = System.getenv().containsKey('CI')
def isLocal = !isCI
-def isAuthenticated =
System.getenv().containsKey('GRAILS_DEVELOCITY_ACCESS_KEY')
develocity {
server = 'https://ge.grails.org'
buildScan {
tag('grails')
tag('grails-redis')
- publishing.onlyIf { isAuthenticated }
+ publishing.onlyIf { it.authenticated }
uploadInBackground = isLocal
}
}
@@ -20,7 +19,7 @@ develocity {
buildCache {
local { enabled = isLocal }
remote(develocity.buildCache) {
- push = isCI && isAuthenticated
+ push = isCI
enabled = true
}
}