Commit Graph

84 Commits

Author SHA1 Message Date
Othmane KINANE 1d9f0dad5b
Accept absolute paths for 'global-json-file' input (#396) 2023-03-13 12:34:56 +01:00
Ivan c82240598b
Add and configure ESLint and update configuration for Prettier (#391)
* Apply ESLint config and update Prettier

* Update dependencies and rebuild

* Update docs
2023-03-09 14:43:05 +02:00
IvanZosimov 0c8652569e Fix error message 2023-01-26 10:35:10 +01:00
Theodore Tsirpanis 9984a6fa87 Warn if the action ends up not installing any .NET version. 2022-11-14 19:58:22 +02:00
MaksimZhukov 607fce577a
Update the link to the .Net Core releases index file (#337) 2022-10-24 14:21:32 +02:00
Evgenii Korolevskii 239baf3c5b Merge branch 'main' into refactor-nuget-cfg-parse 2022-10-13 16:34:35 +02:00
Ivan 4d4a70f4a5
Add logic for processing DOTNET_INSTALL_DIR environment variable (#332) 2022-10-10 14:27:29 +02:00
Ivan 45c9f236cf
Enable ability to change .NET SDK installation directory by `DOTNET_INSTALL_DIR` environment variable (#329) 2022-10-04 10:22:05 +02:00
Evgenii Korolevskii 629365b26e Merge branch 'main' into refactor-nuget-cfg-parse 2022-09-30 09:28:48 +02:00
Evgenii Korolevskii 942a0bea39 format 2022-09-30 02:37:51 +02:00
Evgenii Korolevskii 26db2473e9 fix empty first line 2022-09-30 02:23:20 +02:00
Evgenii Korolevskii 467621733d add packageSourceCredentials 2022-09-30 02:19:09 +02:00
Evgenii Korolevskii bdd38d13dc build 2022-09-30 02:05:09 +02:00
Evgenii Korolevskii 1d2f8f9eaf add debug log 2022-09-30 02:04:34 +02:00
Evgenii Korolevskii 354d280fa3 refactor using of XMLBuilder 2022-09-30 01:54:05 +02:00
Evgenii Korolevskii 90642fa8c5 update parser to v4 2022-09-29 18:23:42 +02:00
Ivan c7e7147fd3
Add ability to write resolved version of SDK into the output variable (#324) 2022-09-29 17:45:25 +02:00
Evgenii Korolevskii cf081e76a2 merge main & build 2022-09-28 15:30:56 +02:00
Ivan 0705ef0281
Implement proposal stated in ADR for setup-dotnet v3 and functionality from feature request #219 (#315) 2022-09-27 14:47:12 +02:00
Thomas Boop a351d9ea84
Add support for Windows-arm (#320)
* update to use pwsh if it is available

* fix spacing

* update install script

* Update src/installer.ts

Co-authored-by: Ivan <98037481+IvanZosimov@users.noreply.github.com>

* update index.js

* fix format

Co-authored-by: Ivan <98037481+IvanZosimov@users.noreply.github.com>
2022-09-26 10:12:13 +02:00
Nogic ba5e53c61d refactor: use core.getBooleanInput() 2022-07-31 23:27:05 +00:00
Owen Smith f078482971
add global-json-file input (#276)
* support specifying global.json location with global-json-file input

* add test workflow jobs for global.json usage

* fix typo in global-json-file description

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2022-04-18 08:25:56 -04:00
Adam Ralph c20f59e04a
Avoiding installing the same version multiple times (#252) 2021-12-29 14:07:42 +03:00
GGG KILLER 499789684c
Warn users when installing EOL .NET versions (#245) 2021-11-23 16:58:49 +03:00
La'Kaleigh Harris 550702114f
Support multiple versions in single invocation (#240) 2021-11-23 13:03:56 +03:00
Vladimir Safonkin b2cf6c7cd4 Handle only latestFeature option 2021-08-30 17:27:01 +03:00
Vladimir Safonkin 33fad1d142 Format code 2021-08-20 17:28:30 +03:00
Vladimir Safonkin 2c3efd1f04 Improve condition 2021-08-20 17:28:10 +03:00
Vladimir Safonkin 078f7c4a73 Format code 2021-08-20 15:44:47 +03:00
Vladimir Safonkin 13fd5bf191 Support rollForward option from global.json 2021-08-20 15:43:49 +03:00
Maxim Lobanov 7b2009794e
Merge pull request #110 from GGG-KILLER/feature/include-prerelease
Include include-prerelease option to be able to match latest prerelease versions
2021-05-05 15:53:38 +03:00
Sergey Dolin bd485b6bd1 Add workaround to fix BOM-related error during parsing global.json 2021-04-28 13:43:02 +05:00
GGG KILLER 87189a16c7 Merge branch 'main' of https://github.com/actions/setup-dotnet into feature/include-prerelease 2021-04-22 12:21:25 -03:00
Vladimir Safonkin cde58ab948 Resolve conflicts 2021-04-22 14:19:03 +03:00
Alena Sviridenko 7790315509
Fix for 5.x notation #175 2021-04-22 14:06:54 +03:00
Vladimir Safonkin 3edf2e9363 Minor fix 2021-04-19 16:16:44 +03:00
Vladimir Safonkin a8c97016ef Minor fix 2021-04-19 16:11:14 +03:00
Vladimir Safonkin d08d2193f9 Prettier 2021-04-19 14:26:05 +03:00
Vladimir Safonkin 632ccbdfb9 Support nuget.config name formats 2021-04-19 14:25:42 +03:00
Vladimir Safonkin 3b539379a8 Minor fix 2021-04-15 13:44:48 +03:00
Vladimir Safonkin 596753d72c Minor fix 2021-04-15 13:43:20 +03:00
Vladimir Safonkin f9d7f16c00 Improve key names validation for keys from user nuget config 2021-04-15 13:30:04 +03:00
Vladimir Safonkin 56d96e897e Improve key names validation for keys from user nuget config 2021-04-15 13:28:24 +03:00
Dmitry Shibanov 6930747f7f create release 2021-03-17 14:58:04 +03:00
Dmitry Shibanov 20afff9c90 work on fixing test 2021-03-17 14:56:08 +03:00
Dmitry Shibanov 36fa9877a9 try fixing 5.x issue 2021-03-17 12:38:57 +03:00
GGG KILLER 768b4eb7db Implement passing includePrerelase to semver 2021-02-19 13:33:36 -03:00
Zachary Eisinger 7a98346f51
DOTNET_ROOT and short generic versions (#131) 2020-09-24 08:26:00 -07:00
Zachary Eisinger 352338157c
Install sxs with the install-dotnet scripts (#124)
* Use dotnet-install scripts for proper sxs

* Update dotnet version in testing

* Error message cleanup

* SxS testing in the dotnet project

* Update package lock

* Test fixes

* Use proper environment variable

* Set dotnet root for windows
2020-09-15 09:36:09 -07:00
Zachary Eisinger 3569a93d9f
Honor specified nuget file location (#109)
* Honor specified nuget file location

* Generate and verify nuget.config
2020-09-02 11:11:56 -07:00