England will play Netherlands in the semifinals of the UEFA Nations League, while Portugal, who host the tournament, take on Switzerland.
World Cup semifinalists England will face Netherlands in Guimaraes on June 6, a day after the other tie is played in Porto.
The final and third-place playoff will take place on June 9.
England qualified for the finals of the inaugural tournament after topping Group 4 of League A, ousting Spain and Croatia to secure qualification.
Netherlands progressed from Group 1, which saw them finish above the last two world champions in Germany and France.
European champions Portugal held off competition in Group 3 from Italy and Poland to secure their spot at the finals, and Switzerland produced a remarkable 5-2 win over Belgium to top Group 2, which also featured Iceland.