build: 测试构建 v5
This commit is contained in:
parent
3fb9f9b7cf
commit
f1278786f7
4
.github/workflows/build-and-release.yml
vendored
4
.github/workflows/build-and-release.yml
vendored
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
run: ./gradlew clean build
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: my-build
|
||||
path: '**/build/libs/*.jar'
|
||||
|
|
@ -41,7 +41,7 @@ jobs:
|
|||
if: startsWith(github.ref, 'refs/tags/build-') # 只有打 tag 才执行 release
|
||||
steps:
|
||||
- name: Download build artifact
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: my-build
|
||||
path: ./build-artifacts
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user