Skip to content

Commit 017a99e

Browse files
committed
build(CI): 优化配置
1 parent 11c0652 commit 017a99e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/maven-publish-4x.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
# os: [ubuntu-latest, windows-latest, macOS-latest]
1313
os: [ ubuntu-latest ]
1414
steps:
15-
- uses: actions/checkout@v1
15+
- uses: actions/checkout@v4
1616
- run: echo ${{github.ref}}
1717
- name: Set up Repository info
18-
uses: actions/setup-java@v2
18+
uses: actions/setup-java@v4
1919
with:
2020
java-version: '8'
21-
distribution: 'adopt'
21+
distribution: 'temurin'
2222
- name: Cache Maven Repository
2323
uses: actions/cache@v3
2424
with:

.github/workflows/maven-publish-5x.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
- uses: actions/checkout@v1
1616
- run: echo ${{github.ref}}
1717
- name: Set up Repository info
18-
uses: actions/setup-java@v2
18+
uses: actions/setup-java@v4
1919
with:
2020
java-version: '17'
21-
distribution: 'adopt'
21+
distribution: 'temurin'
2222
- name: Cache Maven Repository
2323
uses: actions/cache@v3
2424
with:

0 commit comments

Comments
 (0)