Running microsoft/setup-msbuild@v1.0.2 and Run NuGet/setup-nuget@v1.0.5 is now deprecated and you should upgrade the version. The underlying set-out is being removed from 1st June 2023. Instead of set-output the $GITHUB_OUTPUT should be used instead.
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Your Github Action pipeline will look something like this
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.0.2
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.0.5
Solution to set-output
Update the version on setup-msbuild and/or setup-nuget
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1.3
- name: Setup NuGet
uses: NuGet/setup-nuget@v1.1.1
In details the set-output should be change from
- name: Set output
run: echo "::set-output name={name}::{value}"
And use the $GITHUB_OUTPUT instead like this
- name: Set output
run: echo "{name}={value}" >> $GITHUB_OUTPUT
Github documentation: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/