-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflow中调整兼容actions/upload-artifact@v4,actions/download-artifact@v4的配置
- Loading branch information
Showing
2 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,7 +101,7 @@ jobs: | |
- name: Upload binary artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: binaries | ||
name: binaries-${{ matrix.target }} | ||
path: | | ||
*.tar.gz | ||
*.zip | ||
|
@@ -136,7 +136,7 @@ jobs: | |
- name: Upload binary artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: binaries | ||
name: binaries-${{ matrix.target }} | ||
path: | | ||
*.tar.gz | ||
|
@@ -166,15 +166,16 @@ jobs: | |
steps: | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: binaries | ||
pattern: binaries-* | ||
merge-multiple: true | ||
# 暂时移除签名(生成的文件比较多) | ||
#- name: Sigstore Sign | ||
# uses: sigstore/[email protected] | ||
# with: | ||
# inputs: ./*.tar.gz ./*.zip | ||
# upload-signing-artifacts: true | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
files: | | ||
*.tar.gz | ||
|