commit
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ echo "Building and publishing the .NET project..."
|
||||
# Restore, build, and publish the .NET project
|
||||
dotnet restore "$SOLUTION_FILE"
|
||||
dotnet build "$SOLUTION_FILE" --configuration Release --no-restore
|
||||
dotnet publish "$SOLUTION_FILE" --configuration Release --no-build --output "$PUBLISH_DIR"
|
||||
dotnet publish "$SOLUTION_FILE" --configuration Release --no-build --self-contained true -r linux-x64 --output "$PUBLISH_DIR"
|
||||
|
||||
echo "Project built and published successfully to the '$PUBLISH_DIR' directory."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user