This major release includes the following changes:
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
dotnet-quality: 'preview'
- run: dotnet build <my project>
More in detail here.
- #241 The output variable
dotnet-version
which contains the installed by the action SDK version was added in #324:
- uses: actions/setup-dotnet@v3
id: cp310
with:
dotnet-version: '3.1.422'
- run: echo '${{ steps.cp310.outputs.dotnet-version }}' # outputs 3.1.422
More in detail here.
- The
dotnet-version
syntax was updated and now it allows to specify the prerelease version without usinginclude-prerelease
input. Theinclude-prerelease
input was cut out:
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '5.0.0-preview.6'
More in detail here.
Breaking changes:
- Installation paths for Windows and Ubuntu images were changed to match the location of pre-installed SDKs. In more detail, read here.