Sourced from actions/setup-dotnet's releases.
v3.0.0
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.
Add support for Windows-arm
In scope of this release we add support for Windows-arm. Besides, we change getInput to getBooleanInput for include-prerelease.
Package updates, support for global json file in a subdirectory, installer scripts updates
This release includes the following PRs:
- Adding support for the
global-json-file
input: #276 Example of usage:- uses: actions/setup-dotnet@v2 with: global-json-file: csharp/global.json - run: dotnet build <my project> working-directory: csharp
... (truncated)
c7e7147
Add ability to write resolved version of SDK into the output variable (#324)0705ef0
Implement proposal stated in ADR for setup-dotnet v3 and functionality from f...