-
v3.1.0 Stable
released this
2023-05-24 14:41:30 +08:00 | 92 commits to main since this releaseWhat's Changed
This minor release includes the following new features:
- The latest patch syntax was added in https://github.com/actions/setup-dotnet/pull/428 by @IvanZosimov
- uses: actions/setup-dotnet@v3 with: dotnet-version: '7.0.2xx'More details about the new syntax can be found here.
- The
global-json-fileinput was updated to accept absolute paths in https://github.com/actions/setup-dotnet/pull/396 by @othmane-kinane-nw - Error messages were made more informative in https://github.com/actions/setup-dotnet/pull/375 by @IvanZosimov
- Notification if the
global.jsonwas not found in the root directory was added in https://github.com/actions/setup-dotnet/pull/344 by @teo-tsirpanis
It also contains several infrastructure changes:
- Update to latest
actions/publish-actionby @JamesMGreene in https://github.com/actions/setup-dotnet/pull/348 - Update version of publish-action by @MaksimZhukov in https://github.com/actions/setup-dotnet/pull/368
- Update action to use reusable workflows by @IvanZosimov in https://github.com/actions/setup-dotnet/pull/358
- Update workflow badges by @IvanZosimov in https://github.com/actions/setup-dotnet/pull/377
- Add and configure ESLint and update configuration for Prettier by @IvanZosimov in https://github.com/actions/setup-dotnet/pull/391
- Turn on automatic update of ESLint and Prettier configuration files by @IvanZosimov in https://github.com/actions/setup-dotnet/pull/395
- Update e2e tests and e2e test infrastructure by @IvanZosimov in https://github.com/actions/setup-dotnet/pull/414
- Refactor and update unit-tests by @IvanZosimov in https://github.com/actions/setup-dotnet/pull/418
- Increase amount of retries for Dotnet installation scripts tests by @nikolai-laevskii in https://github.com/actions/setup-dotnet/pull/427
New Contributors
- @teo-tsirpanis made their first contribution in https://github.com/actions/setup-dotnet/pull/344
- @JamesMGreene made their first contribution in https://github.com/actions/setup-dotnet/pull/348
- @othmane-kinane-nw made their first contribution in https://github.com/actions/setup-dotnet/pull/396
- @nikolai-laevskii made their first contribution in https://github.com/actions/setup-dotnet/pull/427
Full Changelog: https://github.com/actions/setup-dotnet/compare/v3...v3.1.0
Downloads
-
released this
2022-10-24 20:21:32 +08:00 | 170 commits to main since this releaseIn scope of this release we updated the link to the .Net Core releases index file (#337) in order to fix the ECONNRESET error. Besides, we refactored authutil.ts to get rid of xmlbuilder (https://github.com/actions/setup-dotnet/pull/336)
Downloads
-
Updating @action/core, adding logic for processing the DOTNET_INSTALL_DIR environment variable. Stable
released this
2022-10-10 20:27:29 +08:00 | 195 commits to main since this releaseIn the scope of this release such changes were made:
Downloads
-
released this
2022-10-04 16:22:05 +08:00 | 198 commits to main since this releaseIn scope of this release the
DOTNET_INSTALL_DIRenvironment variable was enabled to add the ability to change the installation directory for .NET SDK #329. TheDOTNET_INSTALL_DIRcan be helpful when access to the default installation directory, for instance, on self-hosted runners, is denied.Example of usage:
build: runs-on: self-hosted env: DOTNET_INSTALL_DIR: "path/to/directory" steps: - uses: actions/setup-dotnet@v3 with: dotnet-version: '3.1.x'Downloads
-
v3.0.0 Stable
released this
2022-09-29 23:45:25 +08:00 | 199 commits to main since this releaseThis 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-versionwhich 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.422More in detail here.
- The
dotnet-versionsyntax was updated and now it allows to specify the prerelease version without usinginclude-prereleaseinput. Theinclude-prereleaseinput 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.
Downloads
- #241 The output variable
-
Add support for Windows-arm Stable
released this
2022-09-26 16:12:13 +08:00 | 201 commits to main since this releaseIn scope of this release we add support for Windows-arm. Besides, we change getInput to getBooleanInput for include-prerelease.
Downloads
-
released this
2022-04-30 01:54:18 +08:00 | 230 commits to main since this releaseThis release includes the following PRs:
-
Adding support for the
global-json-fileinput: #276
Example of usage:- uses: actions/setup-dotnet@v2 with: global-json-file: csharp/global.json - run: dotnet build <my project> working-directory: csharp -
Update @zeit/ncc to @vercel/ncc: #290
-
Update vulnerable packages: #289
-
Improve documentation and update installer scripts to the latest version: #278
Downloads
-
-
v2.0.0 Stable
released this
2022-02-24 23:33:48 +08:00 | 240 commits to main since this releaseIn scope of this release we changed version of the runtime Node.js for the setup-dotnet action and updated package-lock.json file to v2.
Breaking Changes
With the update to Node 16 in #271 all scripts will now be run with Node 16 rather than Node 12.Downloads
-
Installer scripts updates Stable
released this
2022-02-22 21:38:32 +08:00 | 245 commits to main since this releaseUpdate dotnet-install scripts to the latest versions: #270
Downloads
-
released this
2021-11-23 21:58:49 +08:00 | 250 commits to main since this releaseThis release includes the following PRs:
- Adding support to install multiple .NET versions in single action invocation: #240
example:
- uses: actions/setup-dotnet@v1 with: dotnet-version: | 3.1.x 5.0.xThe latest installed .NET version is default, according .NET documentation.
- Adding the build warnings if the deprecated .NET versions are installed by action: #245
Downloads
- Adding support to install multiple .NET versions in single action invocation: #240