Skip to content

Commit 1e9511d

Browse files
committed
Upload full artifacts
1 parent e74e4df commit 1e9511d

File tree

1 file changed

+91
-0
lines changed

1 file changed

+91
-0
lines changed

.github/workflows/ci_build.yml

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

0 commit comments

Comments
 (0)