Skip to content

Commit ea1db5d

Browse files
committed
🔨 调整 ci
1 parent e80f152 commit ea1db5d

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

.github/workflows/build-jar.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,19 @@ jobs:
1414
- name: Checkout code
1515
uses: actions/checkout@v4
1616

17-
- name: Set up JDK 8
17+
- name: Set up JDK 11
1818
uses: actions/setup-java@v4
1919
with:
20-
java-version: '8'
20+
java-version: '11'
2121
distribution: 'temurin'
22-
22+
2323
- name: Setup Gradle
2424
uses: gradle/[email protected]
2525
with:
26-
gradle-version: '5.6.4'
27-
28-
- name: Build JAR
29-
run: gradle jar
30-
31-
- name: Build Fat JAR
32-
run: gradle fatJar
33-
26+
gradle-version: '8.5'
27+
3428
- name: Build Plugin
3529
run: gradle buildPlugin
36-
3730
- name: Show build results
3831
run: |
3932
echo "=== Build completed ==="
@@ -48,7 +41,7 @@ jobs:
4841
name: jar-files-${{ github.run_number }}
4942
path: build/libs/*.jar
5043
retention-days: 30
51-
44+
5245
- name: Upload Plugin ZIP
5346
uses: actions/upload-artifact@v4
5447
with:

0 commit comments

Comments
 (0)