File tree Expand file tree Collapse file tree 5 files changed +58
-48
lines changed
Expand file tree Collapse file tree 5 files changed +58
-48
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Build
2+ on :
3+ push :
4+ branches :
5+ - master
6+ - branch-*
7+ pull_request :
8+ workflow_dispatch :
9+
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+ cancel-in-progress : true
13+
14+ jobs :
15+ build :
16+ name : Build
17+ runs-on : github-ubuntu-latest-s
18+ permissions :
19+ id-token : write
20+ contents : write
21+ steps :
22+ - uses : actions/checkout@v5
23+ with :
24+ fetch-depth : 0
25+ - uses : jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
26+ with :
27+ version : 2025.7.12
28+ - name : get secrets
29+ id : secrets
30+ uses : SonarSource/vault-action-wrapper@v3
31+ with :
32+ secrets : |
33+ development/kv/data/develocity token | DEVELOCITY_TOKEN;
34+
35+ # The SonarSource/ci-github-actions/build-gradle fails because of no access to ARTIFACTORY_DEPLOY_USERNAME
36+ # it is not needed in this case, so the Gradle is called directly
37+ - name : Build with Gradle
38+ env :
39+ DEVELOCITY_ACCESS_KEY : develocity-public.sonar.build=${{ fromJSON(steps.secrets.outputs.vault).DEVELOCITY_TOKEN }}
40+ run : |
41+ ./gradlew build
Original file line number Diff line number Diff line change 1+ name : Cleanup PR Resources
2+ on :
3+ pull_request :
4+ types : [closed]
5+
6+ jobs :
7+ cleanup :
8+ runs-on : github-ubuntu-latest-s
9+ permissions :
10+ actions : write
11+ steps :
12+ - uses : SonarSource/ci-github-actions/pr_cleanup@v1
13+
Original file line number Diff line number Diff line change 1+ [tools ]
2+ java = " 21.0"
3+
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ dependencyResolutionManagement {
3636}
3737
3838develocity {
39- server.set(" https://develocity.sonar.build" )
39+ server.set(" https://develocity-public .sonar.build/ " )
4040}
4141
4242val isCI = System .getenv(" CI" ) != null
You can’t perform that action at this time.
0 commit comments