Skip to content
Closed
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 53 additions & 1 deletion steam_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ echo "# Uploading build #"
echo "#################################"
echo ""

steamcmd +login "$steam_username" +run_app_build "$manifest_path" +quit || (
if [ "$steam_totp" != "INVALID" ]; then
echo "Using TOTP for login"
steamcmd +set_steam_guard_code "$steam_totp" +login "$steam_username" +run_app_build "$manifest_path" +quit || (
echo ""
echo "#################################"
echo "# Errors #"
Expand Down Expand Up @@ -211,5 +213,55 @@ steamcmd +login "$steam_username" +run_app_build "$manifest_path" +quit || (

exit 1
)
else
echo "Using standard login"
steamcmd +login "$steam_username" +run_app_build "$manifest_path" +quit || (
echo ""
echo "#################################"
echo "# Errors #"
echo "#################################"
echo ""
echo "Listing current folder and rootpath"
echo ""
ls -alh
echo ""
ls -alh "$rootPath" || true
echo ""
echo "Listing logs folder:"
echo ""
ls -Ralph "$steamdir/logs/"

for f in "$steamdir"/logs/*; do
if [ -e "$f" ]; then
echo "######## $f"
cat "$f"
echo
fi
done

echo ""
echo "Displaying error log"
echo ""
cat "$steamdir/logs/stderr.txt"
echo ""
echo "Displaying bootstrapper log"
echo ""
cat "$steamdir/logs/bootstrap_log.txt"
echo ""
echo "#################################"
echo "# Output #"
echo "#################################"
echo ""
ls -Ralph BuildOutput

for f in BuildOutput/*.log; do
echo "######## $f"
cat "$f"
echo
done

exit 1
)
fi

echo "manifest=${manifest_path}" >> $GITHUB_OUTPUT