Skip to content

Commit 8d04f7b

Browse files
Update publish_release.yml
1 parent 956b517 commit 8d04f7b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/publish_release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ jobs:
3636
run: zip -r -j MarkdownImageAPI_${{ matrix.runtimeIdentifier }}_8.0.zip MarkdownImageAPI/bin/Release/net8.0/${{ matrix.runtimeIdentifier }}/publish/
3737

3838
- name: 上传临时文件
39-
uses: actions/upload-artifact@v3
39+
uses: actions/upload-artifact@v4
4040
with:
41-
name: Artifacts
41+
name: MarkdownImageAPI_${{ matrix.runtimeIdentifier }}_8.0
4242
path: MarkdownImageAPI_${{ matrix.runtimeIdentifier }}_8.0.zip
4343

4444
LatestRelease:
@@ -56,11 +56,13 @@ jobs:
5656
run: |
5757
git tag -f V1.0.0.0
5858
git push -f origin V1.0.0.0
59+
5960
- name: 下载临时插文件
60-
uses: actions/download-artifact@v3
61+
uses: dawidd6/action-download-artifact@v9
6162
with:
62-
name: Artifacts
63-
path: ./bin
63+
path: bin
64+
skip_unpack: true
65+
6466
- name: 发布Release
6567
uses: ncipollo/release-action@v1
6668
with:

0 commit comments

Comments
 (0)