Commit Graph

67 Commits

Author SHA1 Message Date
Nikolai Laevskii 89b480a0df Call addToPath method on DotnetInstallDir directly 2023-05-30 12:19:28 +02:00
Nikolai Laevskii defac2491f Rename initialize to setEnvironmentVariable 2023-05-30 12:18:10 +02:00
Nikolai Laevskii 916aec40c9 Rename DotnetInstallDir.path to DotnetInstallDir.dirPath 2023-05-30 12:14:34 +02:00
Nikolai Laevskii 80a318b8b8 Change PLATFORM to constant instead of function 2023-05-25 13:11:13 +02:00
Nikolai Laevskii 5c7ae4f903 Apply consistent naming 2023-05-24 16:59:05 +02:00
Nikolai Laevskii b7461a1b69 Remove excessive whitespace 2023-05-24 16:41:16 +02:00
Nikolai Laevskii cce8e1bad1 Merge branch 'main' into refactor-installer 2023-05-24 16:40:29 +02:00
Nikolai Laevskii df506c2d9c Refactor convertInstallPathToAbsolute 2023-05-24 15:28:40 +02:00
Nikolai Laevskii 7e164d3c3b Fix DOTNET_INSTALL_DIR enviornment variable 2023-05-24 15:27:12 +02:00
Nikolai Laevskii 3dfe2673eb Format: Refactor installer 2023-05-24 15:22:01 +02:00
IvanZosimov b05a3f26b3 Fix review points, rebuild solution 2023-05-22 12:27:33 +02:00
IvanZosimov 38b49fb717 Fix informational and debug messages 2023-05-18 12:39:22 +02:00
IvanZosimov 3cf3e230c1 Fix informational message 2023-05-18 12:01:55 +02:00
IvanZosimov 83a1653fa3 Update regular expresiion for isLatestPatchSyntax() 2023-05-18 11:46:40 +02:00
IvanZosimov 2f028bc044 update unit and e2e tests 2023-05-18 11:11:51 +02:00
IvanZosimov fefaa59d2e update logic of outputting dotnet-version 2023-05-16 14:58:18 +02:00
IvanZosimov 0bc43909e0 Update mechanic of outputting installed dotnet version 2023-05-15 11:45:07 +02:00
Nikolai Laevskii aa85432603 Refactor installer 2023-05-12 16:28:16 +02:00
Nikolai Laevskii 6d92b9bd53 Refactor install dir computation 2023-05-12 14:07:46 +02:00
IvanZosimov c5a57b219c Update unit-tests 2023-05-05 10:44:54 +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
IvanZosimov 4f6b2f576a Change the logic to support A.B.Cxx 2023-04-10 16:23:29 +02: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
MaksimZhukov 607fce577a
Update the link to the .Net Core releases index file (#337) 2022-10-24 14:21:32 +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
Ivan c7e7147fd3
Add ability to write resolved version of SDK into the output variable (#324) 2022-09-29 17:45:25 +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
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
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
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
litetex 7b228edf43 Pretty printed code 2020-04-09 19:38:39 +02:00
litetex 3894eede2d Update installer.ts
* Removed unecessary imports
2020-04-09 19:30:41 +02:00
litetex c5ee7a1134 Cleanup
* Doc
* Refactored and removed some stuff
2020-04-09 19:26:10 +02:00