Skip to content

Commit 324100b

Browse files
committed
Update opentelemetry and other dependencies
1 parent acb682d commit 324100b

File tree

13 files changed

+582
-540
lines changed

13 files changed

+582
-540
lines changed

.github/workflows/maven.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,52 +19,52 @@ jobs:
1919
if: github.repository == 'release-engineering/opentelemetry-ext-cli-java' && github.event_name == 'pull_request'
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v5
2323
- name: Cache local Maven repository
24-
uses: actions/cache@v3
24+
uses: actions/cache@v4
2525
with:
2626
path: ~/.m2/repository
2727
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
2828
restore-keys: |
2929
${{ runner.os }}-maven-
30-
- name: Set up JDK 11
31-
uses: actions/setup-java@v3
30+
- name: Set up JDK 17
31+
uses: actions/setup-java@v5
3232
with:
3333
distribution: 'temurin'
34-
java-version: 11
34+
java-version: 17
3535
- name: Build with Maven
3636
run: mvn -B -V install
3737
# - name: Setup tmate session
3838
# uses: mxschmitt/action-tmate@v3
3939
- name: Codecov
40-
uses: codecov/codecov-action@v2
40+
uses: codecov/codecov-action@v5
4141

4242
snapshot:
4343
if: github.repository == 'release-engineering/opentelemetry-ext-cli-java' && github.event_name == 'push' && github.ref == 'refs/heads/main'
4444
runs-on: ubuntu-latest
4545
steps:
46-
- uses: actions/checkout@v3
46+
- uses: actions/checkout@v5
4747
- name: Cache local Maven repository
48-
uses: actions/cache@v3
48+
uses: actions/cache@v4
4949
with:
5050
path: ~/.m2/repository
5151
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
5252
restore-keys: |
5353
${{ runner.os }}-maven-
54-
- name: Set up JDK 11
55-
uses: actions/setup-java@v3
54+
- name: Set up JDK 17
55+
uses: actions/setup-java@v5
5656
with:
5757
distribution: 'temurin'
58-
java-version: 11
58+
java-version: 17
5959
# https://github.com/marketplace/actions/maven-setings-action
6060
- name: Maven Settings
61-
uses: s4u/maven-settings-action@v2
61+
uses: s4u/maven-settings-action@v4.0.0
6262
with:
6363
sonatypeSnapshots: true
6464
githubServer: false
6565
servers: |
6666
[{
67-
"id": "sonatype-nexus-snapshots",
67+
"id": "central",
6868
"username": "${{ secrets.SONATYPE_USERNAME }}",
6969
"password": "${{ secrets.SONATYPE_PASSWORD }}"
7070
}]

0 commit comments

Comments
 (0)