Skip to content

Commit

Permalink
workflow中调整兼容actions/upload-artifact@v4,actions/download-artifact@v4的配置
Browse files Browse the repository at this point in the history
  • Loading branch information
heqingpan committed Feb 9, 2025
1 parent a5c972f commit 6b918a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pre_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
- name: Upload binary artifacts
uses: actions/upload-artifact@v4
with:
name: binaries
name: binaries-${{ matrix.target }}
path: |
*.tar.gz
*.zip
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
- name: Upload binary artifacts
uses: actions/upload-artifact@v4
with:
name: binaries
name: binaries-${{ matrix.target }}
path: |
*.tar.gz
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
- name: Upload binary artifacts
uses: actions/upload-artifact@v4
with:
name: binaries
name: binaries-${{ matrix.target }}
path: |
*.tar.gz
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6b918a1

Please sign in to comment.