File tree Expand file tree Collapse file tree 4 files changed +31
-6
lines changed
Expand file tree Collapse file tree 4 files changed +31
-6
lines changed Original file line number Diff line number Diff line change 11name : Smoke test build
22on :
3+ pull_request :
4+ branches :
5+ - main
36 push :
47 branches :
58 - main
2528 with :
2629 java-version : 17
2730 distribution : ' temurin'
31+ - name : Cache local Maven repository
32+ uses : actions/cache@v3
33+ with :
34+ path : |
35+ ~/.m2/repository/io/opentelemetry/
36+ key : ${{ runner.os }}-maven-local-${{ hashFiles('.github/patches/opentelemetry-java*.patch') }}
37+ - name : Publish patched dependencies to maven local
38+ uses : ./.github/actions/patch-dependencies
39+ with :
40+ gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
41+ gpg_password : ${{ secrets.GPG_PASSPHRASE }}
2842 - uses : gradle/wrapper-validation-action@v1
2943 - name : Configure AWS Credentials
3044 uses : aws-actions/configure-aws-credentials@v4
Original file line number Diff line number Diff line change 11name : Java Agent Main Build
22on :
3- pull_request :
4- branches :
5- - main
63 push :
74 branches :
85 - main
Original file line number Diff line number Diff line change 11name : Nightly Snapshot Build
22on :
3+ pull_request :
4+ branches :
5+ - main
36 schedule :
47 - cron : " 21 3 * * *"
58 workflow_dispatch :
3235 java-version : 17
3336 distribution : ' temurin'
3437
38+ # cache local patch outputs
39+ - name : Cache local Maven repository
40+ uses : actions/cache@v3
41+ with :
42+ path : |
43+ ~/.m2/repository/io/opentelemetry/
44+ key : ${{ runner.os }}-maven-local-${{ hashFiles('.github/patches/opentelemetry-java*.patch') }}
45+
46+ - name : Publish patched dependencies to maven local
47+ uses : ./.github/actions/patch-dependencies
48+ with :
49+ gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
50+ gpg_password : ${{ secrets.GPG_PASSPHRASE }}
51+
3552 - uses : gradle/wrapper-validation-action@v1
3653
3754 - name : Configure AWS Credentials
Original file line number Diff line number Diff line change 11name : Release Build
22on :
3- pull_request :
4- branches :
5- - main
63 workflow_dispatch :
74 inputs :
85 version :
You can’t perform that action at this time.
0 commit comments