Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
adpi2 committed Aug 19, 2024
1 parent 7b262f7 commit 71e2b6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ jobs:
- name: Add SBT proxy repositories
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true

- name: Check Develocity Key
run: echo $DEVELOCITY_ACCESS_KEY | wc -m

- name: Test
# DON'T add dist/Universal/stage!
# Adding dist/Universal/stage bootstraps the compiler
Expand Down
5 changes: 3 additions & 2 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -275,13 +275,14 @@ object Build {
val isInsideCI = insideCI.value
val previousConfig = develocityConfiguration.value
val previousBuildScan = previousConfig.buildScan
println("DEVELOCITY_ACCESS_KEY: " + sys.env.get("DEVELOCITY_ACCESS_KEY").getOrElse("").size)
previousConfig
.withProjectId(ProjectId("scala3"))
.withServer(previousConfig.server.withUrl(Some(url("https://develocity.scala-lang.org"))))
.withBuildScan(
previousBuildScan
.withPublishing(Publishing.onlyIf(_.authenticated))
.withBackgroundUpload(!isInsideCI)
.withPublishing(Publishing.onlyIf(_ => true))
.withBackgroundUpload(false)
.tag(if (isInsideCI) "CI" else "Local")
.withLinks(previousBuildScan.links ++ GithubEnv.develocityLinks)
.withValues(previousBuildScan.values ++ GithubEnv.develocityValues)
Expand Down

0 comments on commit 71e2b6e

Please sign in to comment.