We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d34c805 commit 26eeabbCopy full SHA for 26eeabb
1 file changed
.github/workflows/release.yml
@@ -56,7 +56,9 @@ jobs:
56
uses: actions/upload-artifact@v4
57
with:
58
name: ${{ matrix.target }}
59
- path: release_artifacts/*
+ path: |
60
+ release_artifacts/*.zip
61
+ release_artifacts/*.tar.gz
62
if-no-files-found: error
63
64
publish:
@@ -101,7 +103,7 @@ jobs:
101
103
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
102
104
shell: bash
105
run: |
- mapfile -t files < <(find release_artifacts -type f \( -name "*.zip" -o -name "*.tar.gz" \) | sort)
106
+ mapfile -t files < <(find release_artifacts -maxdepth 2 -type f \( -name "PyRAG-Kit-*.zip" -o -name "PyRAG-Kit-*.tar.gz" \) | sort)
107
if [ "${#files[@]}" -eq 0 ]; then
108
echo "未找到发布产物。" >&2
109
exit 1
0 commit comments