Skip to content

Commit e33aed9

Browse files
committed
Try similifying consolidated artfact upload
1 parent bbe39a1 commit e33aed9

File tree

1 file changed

+7
-43
lines changed

1 file changed

+7
-43
lines changed

.github/workflows/ci_build.yml

Lines changed: 7 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -64,52 +64,16 @@ jobs:
6464
fail-fast: true
6565

6666
steps:
67-
# Step 8: Download all artifacts from all build jobs
68-
- name: Download Release Win32 binaries and PDBs
67+
# Step 7: Download all artifacts from the build job
68+
- name: Download all artifacts
6969
uses: actions/download-artifact@v4
7070
with:
71-
path: all_artifacts/Release/win32
72-
pattern: NppJSONViewer_Win32_Rel*
73-
merge-multiple: true
71+
path: all_artifacts/
72+
merge: true
7473

75-
- name: Download Debug Win32 binaries and PDBs
76-
uses: actions/download-artifact@v4
77-
with:
78-
path: all_artifacts/Debug/win32
79-
pattern: NppJSONViewer_Win32_Deb*
80-
merge-multiple: true
81-
82-
- name: Download Release x64 binaries and PDBs
83-
uses: actions/download-artifact@v4
84-
with:
85-
path: all_artifacts/Release/x64
86-
pattern: NppJSONViewer_x64_Rel*
87-
merge-multiple: true
88-
89-
- name: Download Debug x64 binaries and PDBs
90-
uses: actions/download-artifact@v4
91-
with:
92-
path: all_artifacts/Debug/x64
93-
pattern: NppJSONViewer_x64_Deb*
94-
merge-multiple: true
95-
96-
- name: Download Release ARM64 binaries and PDBs
97-
uses: actions/download-artifact@v4
98-
with:
99-
path: all_artifacts/Release/ARM64
100-
pattern: NppJSONViewer_ARM64_Rel*
101-
merge-multiple: true
102-
103-
- name: Download Debug ARM64 binaries and PDBs
104-
uses: actions/download-artifact@v4
105-
with:
106-
path: all_artifacts/Debug/ARM64
107-
pattern: NppJSONViewer_ARM64_Deb*
108-
merge-multiple: true
109-
110-
# Step 9: Upload full artifact
111-
- name: Upload full artifacts
74+
# Step 8: Upload consolidated artifacts as a single artifact
75+
- name: Upload full artifact
11276
uses: actions/upload-artifact@v4
11377
with:
11478
name: NppJSONViewer_ALL
115-
path: all_artifacts\**
79+
path: all_artifacts/**

0 commit comments

Comments
 (0)