Resistance spot welding of aluminum-to-aluminum, aluminum-to-steel, and steel-to-steel in a specified sequence and using a cover