"set-env" depracation warning when running "dotnet build" #25011
-
My workflow keeps getting these deprecation warning messages.
How can I figure out what is the issue? Also, I do declare 2 environment variables using the “env:” syntax at the workflow level. Could that be the issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Many actions depend on See e.g. actions/checkout#380 |
Beta Was this translation helpful? Give feedback.
-
I finally found the issue (sorry for not circling back sooner), it was a NuGet we use during build (https://github.com/dotnet/Nerdbank.GitVersioning). |
Beta Was this translation helpful? Give feedback.
I finally found the issue (sorry for not circling back sooner), it was a NuGet we use during build (https://github.com/dotnet/Nerdbank.GitVersioning).
It was using
set-env
internally.The solution was simply to update it (since they solved it in a later version).