mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-05-07 21:55:57 +08:00
build(CI): 优化配置
This commit is contained in:
6
.github/workflows/maven-publish-4x.yml
vendored
6
.github/workflows/maven-publish-4x.yml
vendored
@@ -12,13 +12,13 @@ jobs:
|
||||
# os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||
os: [ ubuntu-latest ]
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v4
|
||||
- run: echo ${{github.ref}}
|
||||
- name: Set up Repository info
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '8'
|
||||
distribution: 'adopt'
|
||||
distribution: 'temurin'
|
||||
- name: Cache Maven Repository
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
||||
4
.github/workflows/maven-publish-5x.yml
vendored
4
.github/workflows/maven-publish-5x.yml
vendored
@@ -15,10 +15,10 @@ jobs:
|
||||
- uses: actions/checkout@v1
|
||||
- run: echo ${{github.ref}}
|
||||
- name: Set up Repository info
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'adopt'
|
||||
distribution: 'temurin'
|
||||
- name: Cache Maven Repository
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user