Updated .net actions.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user