Skip to content

Commit 6736af3

Browse files
committed
Upload full artifacts
1 parent e74e4df commit 6736af3

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

.github/workflows/ci_build.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,61 @@ jobs:
5858
run: |
5959
cd src\Build\Bin\Release\x64
6060
./UnitTest.exe
61+
62+
upload-full-artifacts:
63+
# Trigger this job only after all 'build' jobs are complete
64+
needs: build
65+
runs-on: windows-latest
66+
strategy:
67+
fail-fast: true
68+
69+
steps:
70+
# Step 8: Download all artifacts from all build jobs
71+
- name: Download Release Win32 binaries and PDBs
72+
uses: actions/download-artifact@v4
73+
with:
74+
path: all_artifacts/Release/win32
75+
pattern: NppJSONViewer_Win32_Rel*
76+
merge-multiple: true
77+
78+
- name: Download Debug Win32 binaries and PDBs
79+
uses: actions/download-artifact@v4
80+
with:
81+
path: all_artifacts/Debug/win32
82+
pattern: NppJSONViewer_Win32_Deb*
83+
merge-multiple: true
84+
85+
- name: Download Release x64 binaries and PDBs
86+
uses: actions/download-artifact@v4
87+
with:
88+
path: all_artifacts/Release/x64
89+
pattern: NppJSONViewer_x64_Rel*
90+
merge-multiple: true
91+
92+
- name: Download Debug x64 binaries and PDBs
93+
uses: actions/download-artifact@v4
94+
with:
95+
path: all_artifacts/Debug/x64
96+
pattern: NppJSONViewer_x64_Deb*
97+
merge-multiple: true
98+
99+
- name: Download Release ARM64 binaries and PDBs
100+
uses: actions/download-artifact@v4
101+
with:
102+
path: all_artifacts/Release/ARM64
103+
pattern: NppJSONViewer_ARM64_Rel*
104+
merge-multiple: true
105+
106+
- name: Download Debug ARM64 binaries and PDBs
107+
uses: actions/download-artifact@v4
108+
with:
109+
path: all_artifacts/Debug/ARM64
110+
pattern: NppJSONViewer_ARM64_Deb*
111+
merge-multiple: true
112+
113+
# Step 9: Upload full artifact
114+
- name: Upload full artifacts
115+
uses: actions/upload-artifact@v4
116+
with:
117+
name: NppJSONViewer_ALL
118+
path: all_artifacts\**

0 commit comments

Comments
 (0)