Skip to content
This repository was archived by the owner on Aug 11, 2026. It is now read-only.

.pr_agent_accepted_suggestions

root edited this page Oct 5, 2025 · 1 revision
                     PR 10 (2025-10-05)                    
[possible issue] Fix incorrect artifact download syntax

✅ Fix incorrect artifact download syntax

The actions/download-artifact@v4 action's name input does not support a comma-separated list. Replace it with the pattern input and use glob patterns to correctly download multiple artifacts.

.github/workflows/build-sharp.yaml [401-406]

 - name: Download SPT Folder Artifacts
   uses: actions/download-artifact@v4
   with:
-    name: server-artifact-win-x64,server-artifact-linux-x64,launcher-artifact
+    pattern: |
+      server-artifact-*
+      launcher-artifact
     path: release/SPT
     merge-multiple: true

Suggestion importance[1-10]: 10

__

Why: The suggestion correctly identifies a critical bug in the GitHub Actions workflow; using a comma-separated list for the name parameter in actions/download-artifact@v4 is invalid and would cause the workflow to fail.



Clone this wiki locally