My 2014 Sierra went from blowing cold to warm in a matter of hours. Turned out the AC condenser developed a leak. Dealer replaced it and recharged system.
Service writer mentioned the hose from compressor to condenser was somewhat common. Not so common for my failure.