Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Commit 739ceca

Browse files
committed
ci: 修复上传部分目录错误的问题
1 parent b556863 commit 739ceca

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,10 @@ jobs:
111111
- name: Download artifacts
112112
uses: actions/download-artifact@v4
113113
with:
114-
path: ./out
114+
path: ./out_artifacts
115+
116+
- name: Process Artifacts
117+
run: pwsh -ep bypass ./tools/release-gen/proc-artifacts.ps1
115118

116119
- name: Generate SHA256
117120
run: pwsh -ep bypass ./tools/release-gen/gen-hash.ps1 ./out
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
if ($(Test-Path ./out) -eq $false) {
2+
mkdir out
3+
}
4+
5+
foreach ($artifact in $artifacts) {
6+
Copy-Item ./out_artifacts/$($artifact.Name)/* -Destination ./out/ -Recurse -Force
7+
}

0 commit comments

Comments
 (0)