* L'école est finie: This is the most common and general way to say "school is over" or "school has ended."
* Les cours sont finis: This translates to "classes are over" and is a more precise way to say school has ended, focusing on the classes themselves rather than the entire school.
Both are correct and easily understood, but "L'école est finie" is more frequently used in casual conversation.