Commit Graph

79 Commits

Author SHA1 Message Date
IvanZosimov 21cf89aa73 Remove commented lines of code 2023-05-16 15:13:18 +02:00
IvanZosimov fefaa59d2e update logic of outputting dotnet-version 2023-05-16 14:58:18 +02:00
IvanZosimov fbdbede901 Rebuild solution 2023-05-15 11:49:01 +02:00
IvanZosimov 6adeb768ce Update docs 2023-05-05 10:43:09 +02:00
IvanZosimov 559e47b01b Fix review points 2023-04-13 10:33:52 +02:00
IvanZosimov 7358a44590 Update unit tests 2023-04-12 16:44:51 +02:00
IvanZosimov 34c30d0e81 Refactor logic 2023-04-12 15:44:03 +02:00
IvanZosimov aa34a3ceaa Fix typo 2023-04-11 13:44:35 +02:00
IvanZosimov 12f70884d7 Fix typo 2023-04-11 13:23:50 +02:00
IvanZosimov 0318091611 Update resolveVersionInput() 2023-04-11 13:20:34 +02:00
IvanZosimov f199d27aa1 Update solution 2023-04-10 16:58:35 +02:00
IvanZosimov 660c25a321 Rebuild action 2023-04-10 16:24:56 +02:00
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 b827fcce4d build 2022-10-13 16:35:12 +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
Francesco Renzi 9260643816 Update @actions/core to 1.10.0 2022-10-06 12:05:06 +01: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 6d6c7c9313 build 2022-09-30 09:33:54 +02:00
Evgenii Korolevskii e753bbf2ff remove build 2022-09-30 09:33:03 +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 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
Evgenii Korolevskii 4ca3c96b49 Merge branch 'main' into refactor-nuget-cfg-parse 2022-09-28 09:30:07 +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
Evgenii Korolevskii 792e988dae build 2022-08-31 15:43:30 +02:00
Nogic ba5e53c61d refactor: use core.getBooleanInput() 2022-07-31 23:27:05 +00:00
Dmitry Shibanov 5cc895510b
Update @zeit/ncc to @vercel/ncc (#290)
* update @zeit/ncc to @vercel/ncc

* rebuild project
2022-04-28 11:37:53 +02: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
Vladimir Safonkin 9744af7b74 Update dependencies 2022-02-24 18:04:55 +03:00
Vladimir Safonkin d292011f5d Update node version to v16 2022-02-24 11:16:01 +03: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 b66058b059 Build index.js 2021-08-30 17:35:17 +03:00
Vladimir Safonkin 2c3efd1f04 Improve condition 2021-08-20 17:28:10 +03:00
Vladimir Safonkin 0067f023d2 Fix unstaged changes in index.js 2021-08-20 16:45:26 +03:00
Vladimir Safonkin 6b8ad2e725 Revert exports in index.js 2021-08-20 15:48:47 +03:00
Vladimir Safonkin 13fd5bf191 Support rollForward option from global.json 2021-08-20 15:43:49 +03:00