He said they could hand over cash from their budgets or accept a reduction in funding for the Barnett formula they receive from their Westminster block grants.
The request was very unusual, as foreign aid and defense spending is reserved for Westminster.
However, SNP ministers in Edinburgh have previously spent money voluntarily in other reserved areas, such as international development, sending aid to other countries, including Ukraine.
They have provided £ 4 million to provide basic humanitarian assistance in health, water and sanitation, and shelter for those fleeing the war-torn country.
The Scottish government said its £ 65 million would be used to help fund “sophisticated air defense systems and thousands of pieces of vital equipment for Ukrainian soldiers”.
“Funding for these areas must be provided by the UK government”
Ms Forbes said: “This additional funding is to help the Ukrainian armed forces combat the Russian aggression and indescribable brutality that is being perpetrated.
“We have agreed to provide funding on this occasion given the clear need to maximize the international effort to support Ukraine. However, we are clear that this should not be seen as any precedent that will lead to decentralized budgets. be used to help pay for clearly reserved policy areas “.
Evans said “it is right that the UK continues to provide much needed military support and we will continue to provide humanitarian support to the large number of people from Ukraine who come to Wales every day”.
But he added: “What is wrong is to use the money that should be used to invest in delegated areas, such as health and education, to fund an area of non-transferred spending: military aid and defense.
“We have accepted this result because of our constant commitment to supporting the Ukrainian people and avoiding future budgetary uncertainty, but funding for these areas should be met by the UK government.”
Jeremy Miles, the Welsh Minister of Education, told BBC Radio Wales that “the UK Treasury told ministers the budget would be cut” and “there was no consultation”.
David TC Davies, Minister of the Wales Office, said: “At the end of the day, the parliamentary government will do nothing to undermine decentralization.”