File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ name: Build and Release Velocity Plugin
33on :
44 push :
55 tags :
6- - ' v*' # 自动触发:当推送v开头的标签时
7- workflow_dispatch : # 手动触发:允许从GitHub UI手动运行
6+ - ' v*' # 推送 v 开头的标签时触发
7+ workflow_dispatch : # 允许手动触发
88
99jobs :
1010 build :
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'
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 }}
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
You can’t perform that action at this time.
0 commit comments