Updated .net actions.

This commit is contained in:
2025-07-07 20:58:04 -07:00
parent 50bfb1278e
commit d41bf186fe
11 changed files with 188 additions and 36 deletions

View File

@@ -1,4 +1,6 @@
#!/bin/bash
source nuget_utils.sh
COMMAND="$@"
set -o pipefail
@@ -21,8 +23,14 @@ if [[ -n "$OUTPUT" ]]; then
echo "EOF" >> "$GITHUB_OUTPUT"
fi
# Add NuGet sources before running command
handle_nuget_sources "add"
echo "exitCode=$RESULT" >> "$GITHUB_OUTPUT"
# Remove NuGet sources after running command
handle_nuget_sources "remove"
if [[ "$CATCH_ERRORS" != "true" ]]; then
exit $RESULT
fi