£77m funding confirmed for York scheme