Skip to content

Commit

Permalink
✨ 调整 ci
Browse files Browse the repository at this point in the history
  • Loading branch information
li-xunhuan committed Jun 19, 2024
1 parent 6fe667f commit e1c31d3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions .github/workflows/publish-snapshot-2.7.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up JDK 8
uses: actions/setup-java@v4
with:
distribution: 'temurin'
distribution: 'zulu'
java-version: 8
- name: Cache Gradle packages
uses: actions/cache@v4
Expand All @@ -24,10 +24,10 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Setup Gradle 8.5
- name: Setup Gradle 8.8
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 8.5
gradle-version: 8.8
- name: Build with Gradle
run: gradle publishSnapshot
env:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 17
- name: Cache Gradle packages
uses: actions/cache@v4
Expand All @@ -23,10 +24,10 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Setup Gradle 8.5
- name: Setup Gradle 8.8
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: 8.5
gradle-version: 8.8
- name: Build with Gradle
run: gradle publishSnapshot
env:
Expand Down

0 comments on commit e1c31d3

Please sign in to comment.