File tree Expand file tree Collapse file tree 1 file changed +23
-6
lines changed
Expand file tree Collapse file tree 1 file changed +23
-6
lines changed Original file line number Diff line number Diff line change @@ -188,15 +188,32 @@ jobs:
188188 secrets :
189189 secrets/data/github repo_readonly_pat | REPO_READONLY_PAT
190190
191- - name : Download all artifacts
191+ - name : Download executable artifacts
192192 uses : actions/download-artifact@v4
193193 with :
194+ pattern : executable-*
194195 path : ./artifacts
196+ merge-multiple : true
197+
198+ - name : Download Windows installer
199+ uses : actions/download-artifact@v4
200+ with :
201+ name : Cleanuparr-windows-installer
202+ path : ./artifacts
203+
204+ - name : Download macOS installers
205+ uses : actions/download-artifact@v4
206+ with :
207+ pattern : Cleanuparr-macos-*-installer
208+ path : ./artifacts
209+ merge-multiple : true
195210
196211 - name : List downloaded artifacts
197212 run : |
198- echo "📦 Downloaded artifacts:"
199- find ./artifacts -type f -name "*.zip" -o -name "*.pkg" -o -name "*.exe" | sort
213+ echo "Downloaded artifacts:"
214+ find ./artifacts -type f \( -name "*.zip" -o -name "*.pkg" -o -name "*.exe" \) | sort
215+ echo ""
216+ echo "Total files: $(find ./artifacts -type f \( -name "*.zip" -o -name "*.pkg" -o -name "*.exe" \) | wc -l)"
200217
201218 - name : Create release
202219 uses : softprops/action-gh-release@v2
@@ -208,9 +225,9 @@ jobs:
208225 target_commitish : main
209226 generate_release_notes : true
210227 files : |
211- ./artifacts/**/* .zip
212- ./artifacts/**/* .pkg
213- ./artifacts/**/* .exe
228+ ./artifacts/*.zip
229+ ./artifacts/*.pkg
230+ ./artifacts/*.exe
214231
215232 # Summary job
216233 summary :
You can’t perform that action at this time.
0 commit comments