Skip to content

Commit c74f7c2

Browse files
committed
debug
1 parent 7b262f7 commit c74f7c2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ jobs:
140140
- name: Add SBT proxy repositories
141141
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
142142

143+
- name: Check Develocity Key
144+
run: echo $DEVELOCITY_ACCESS_KEY | wc -m
145+
143146
- name: Cmd Tests
144147
run: |
145148
./project/scripts/buildScalaBinary

project/Build.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,13 +275,14 @@ object Build {
275275
val isInsideCI = insideCI.value
276276
val previousConfig = develocityConfiguration.value
277277
val previousBuildScan = previousConfig.buildScan
278+
println("DEVELOCITY_ACCESS_KEY: " + sys.env.get("DEVELOCITY_ACCESS_KEY").getOrElse("").size)
278279
previousConfig
279280
.withProjectId(ProjectId("scala3"))
280281
.withServer(previousConfig.server.withUrl(Some(url("https://develocity.scala-lang.org"))))
281282
.withBuildScan(
282283
previousBuildScan
283-
.withPublishing(Publishing.onlyIf(_.authenticated))
284-
.withBackgroundUpload(!isInsideCI)
284+
.withPublishing(Publishing.onlyIf(_ => true))
285+
.withBackgroundUpload(false)
285286
.tag(if (isInsideCI) "CI" else "Local")
286287
.withLinks(previousBuildScan.links ++ GithubEnv.develocityLinks)
287288
.withValues(previousBuildScan.values ++ GithubEnv.develocityValues)

0 commit comments

Comments
 (0)