protonscr

Does the `workshop_build_item` command in steamcmd allow you to exclude directories or files?

steamclosed questionSteamCMD
ValveSoftware/steam-for-linux#12252 · opened 2025-08-07 by Gamebuster19901 · updated 2025-08-08 · 1 comments · github
GGamebuster19901 2025-08-07 github

I'm attempting to resolve a critical security issue for a downstream component that uses SteamCMD. I can't really go into the details at the moment, but essentially we need to exclude certain directories/files from the uploaded artifact.

It looks like this feature is present in the run_app_build command (see https://github.com/game-ci/steam-deploy/blob/2d5b9ce067156aea9ff346bcb0ec787d79cdd463/steam_deploy.sh#L44C1-L66C5).

Is this also the case for the workshop_build_item command as well? Or will we have to copy only the files we want to a separate directory and run the command from there?

GGamebuster19901 2025-08-08 github

It does not appear to be the case. Feel free to let me know otherwise, but I've already come up with a solution.

Nothing extracted yet.