Skip to content

Commit 3ab3ff1

Browse files
committed
Upload full artifacts
1 parent e74e4df commit 3ab3ff1

File tree

1 file changed

+83
-0
lines changed

1 file changed

+83
-0
lines changed

.github/workflows/ci_build.yml

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,86 @@ 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 Release x64 binaris
79+
uses: actions/download-artifact@v4
80+
with:
81+
name: NppJSONViewer_x64_Release
82+
path: all_artifacts/Release/x64
83+
84+
- name: Download Release x64 PDB
85+
uses: actions/download-artifact@v4
86+
with:
87+
name: NppJSONViewer_x64_Release_pdb
88+
path: all_artifacts/Release/x64
89+
90+
- name: Download Release ARM64 binaris
91+
uses: actions/download-artifact@v4
92+
with:
93+
name: NppJSONViewer_ARM64_Release
94+
path: all_artifacts/Release/ARM64
95+
96+
- name: Download Release ARM64 PDB
97+
uses: actions/download-artifact@v4
98+
with:
99+
name: NppJSONViewer_ARM64_Release_pdb
100+
path: all_artifacts/Release/ARM64
101+
102+
- name: Download Debug Win32 binaris
103+
uses: actions/download-artifact@v4
104+
with:
105+
name: NppJSONViewer_Win32_Debug
106+
path: all_artifacts/Debug/win32
107+
108+
- name: Download Debug Win32 PDB
109+
uses: actions/download-artifact@v4
110+
with:
111+
name: NppJSONViewer_Win32_Debug_pdb
112+
path: all_artifacts/Debug/win32
113+
114+
- name: Download Debug x64 binaris
115+
uses: actions/download-artifact@v4
116+
with:
117+
name: NppJSONViewer_x64_Debug
118+
path: all_artifacts/Debug/x64
119+
120+
- name: Download Debug x64 PDB
121+
uses: actions/download-artifact@v4
122+
with:
123+
name: NppJSONViewer_x64_Debug_pdb
124+
path: all_artifacts/Debug/x64
125+
126+
- name: Download Debug ARM64 binaris
127+
uses: actions/download-artifact@v4
128+
with:
129+
name: NppJSONViewer_ARM64_Debug
130+
path: all_artifacts/Debug/ARM64
131+
132+
- name: Download Debug ARM64 PDB
133+
uses: actions/download-artifact@v4
134+
with:
135+
name: NppJSONViewer_ARM64_Debug_pdb
136+
path: all_artifacts/Debug/ARM64
137+
138+
# Step 9: Upload full artifact
139+
- name: Upload full artifacts
140+
uses: actions/upload-artifact@v4
141+
with:
142+
name: NppJSONViewer_All
143+
path: all_artifacts\**

0 commit comments

Comments
 (0)