Skip to content

Commit 43ff92d

Browse files
authored
Update gradle.yml
1 parent 86c649b commit 43ff92d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/gradle.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Build and Release Velocity Plugin
33
on:
44
push:
55
tags:
6-
- 'v*' # 自动触发:当推送v开头的标签时
7-
workflow_dispatch: # 手动触发:允许从GitHub UI手动运行
6+
- 'v*' # 推送 v 开头的标签时触发
7+
workflow_dispatch: # 允许手动触发
88

99
jobs:
1010
build:
@@ -14,7 +14,7 @@ jobs:
1414
- name: Checkout code
1515
uses: actions/checkout@v4
1616

17-
- name: Set up JDK
17+
- name: Set up JDK 17
1818
uses: actions/setup-java@v3
1919
with:
2020
distribution: 'temurin'
@@ -34,7 +34,7 @@ jobs:
3434
echo "Found JAR: $JAR_PATH"
3535
3636
- name: Upload Artifact
37-
uses: actions/upload-artifact@v3
37+
uses: actions/upload-artifact@v4
3838
with:
3939
name: velocity-plugin
4040
path: ${{ steps.find_jar.outputs.jar_path }}
@@ -45,7 +45,7 @@ jobs:
4545

4646
steps:
4747
- name: Download Artifact
48-
uses: actions/download-artifact@v3
48+
uses: actions/download-artifact@v4 # 更新到 v4
4949
with:
5050
name: velocity-plugin
5151

0 commit comments

Comments
 (0)