Commit Graph

74 Commits (3951f0dfe7a07e2313ec93c75700083e2005cbab)

Author SHA1 Message Date
Dylan 87b7050bc5
V4 - Use new .NET CDN URLs and update to latest install scripts (#566)
* Use new .NET CDN URL

* Update to latest install-dotnet scripts

* Use signed version of new `install-dotnet.ps1`

* Add fallback to old CDN URL
9 months ago
HarithaVattikuti 4d6c8fcf3c
Upgrade Node to v20 (#484)
* Node Version upgrade to 20

* 4.0.0

* Action Files upgrade to 20

* Updated version for outdated

* Update Format check

* Auth Test file update
2 years ago
Nikolai Laevskii 8f71719d12 Add dotnet runtime installation before main script run 2 years ago
Nikolai Laevskii 6019612129 Merge remote-tracking branch 'github/main' into refactor-installer 2 years ago
Nikolai Laevskii addb470701 Make setup script functions synchronous 2 years ago
Nikolai Laevskii 820f30d332 Make assigning of the script path intuitive 2 years ago
Nikolai Laevskii 89b480a0df Call addToPath method on DotnetInstallDir directly 2 years ago
Nikolai Laevskii defac2491f Rename initialize to setEnvironmentVariable 2 years ago
Nikolai Laevskii 916aec40c9 Rename DotnetInstallDir.path to DotnetInstallDir.dirPath 2 years ago
Nogic 3447fd6a9f
feat: Cache NuGet global-packages folder (#303)
* feat: cache NuGet global-packages folder

* fix: remove unused files

* docs: fix incorrect action

* ci: add e2e test for cache

* docs: accept suggested changes on README

* docs: add simple cache example

* build: change main script path

* fix: change relative path to install scripts

* fix: change relative path to problem matcher

* refactor: accept changes on cache-utils

* fix: revert main script path changes

* test: fix cache-utils unit test

* test: fix cache-utils unit test

* feat: add `cache-dependency-path` variables

* build: change main script dist path

* ci: add `cache-dependency-path` e2e test & missing lock file

* fix: accept change suggestions

* ci: copy NuGet lock file to root

to pass "test-setup-with-cache" e2e test

* docs: change README guide

* fix: apply suggestions from code review

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

* test: fix some failed unit tests

- fix `restoreCache()` test for 9703c8
- update installer script

* build: rebuild dist

* Update unit-tests
- Additional unit test were added to setup-dotnet.test.ts

* Update unit tests for unix systems

* Format and lint unit tests

* fix: avoid use '/' on `path.join`

* fix: rebuild dist

* fix: apply suggestions from code review

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

* build: add `DisableImplicitNuGetFallbackFolder` option

also add guide on README

* docs: highlight warnings and notes

* docs: update note about handling NU1403

---------

Co-authored-by: Ivan <98037481+IvanZosimov@users.noreply.github.com>
Co-authored-by: IvanZosimov <ivanzosimov@github.com>
2 years ago
Nikolai Laevskii 80a318b8b8 Change PLATFORM to constant instead of function 2 years ago
Nikolai Laevskii 5c7ae4f903 Apply consistent naming 2 years ago
Nikolai Laevskii b7461a1b69 Remove excessive whitespace 2 years ago
Nikolai Laevskii cce8e1bad1 Merge branch 'main' into refactor-installer 2 years ago
Nikolai Laevskii df506c2d9c Refactor convertInstallPathToAbsolute 2 years ago
Nikolai Laevskii 7e164d3c3b Fix DOTNET_INSTALL_DIR enviornment variable 2 years ago
Nikolai Laevskii 3dfe2673eb Format: Refactor installer 2 years ago
IvanZosimov b05a3f26b3 Fix review points, rebuild solution 2 years ago
IvanZosimov 38b49fb717 Fix informational and debug messages 2 years ago
IvanZosimov 3cf3e230c1 Fix informational message 2 years ago
IvanZosimov 83a1653fa3 Update regular expresiion for isLatestPatchSyntax() 2 years ago
IvanZosimov 2f028bc044 update unit and e2e tests 2 years ago
IvanZosimov fefaa59d2e update logic of outputting dotnet-version 2 years ago
IvanZosimov 0bc43909e0 Update mechanic of outputting installed dotnet version 2 years ago
Nikolai Laevskii aa85432603 Refactor installer 2 years ago
Nikolai Laevskii 6d92b9bd53 Refactor install dir computation 2 years ago
IvanZosimov c5a57b219c Update unit-tests 2 years ago
IvanZosimov 6adeb768ce Update docs 2 years ago
IvanZosimov 559e47b01b Fix review points 2 years ago
IvanZosimov 7358a44590 Update unit tests 2 years ago
IvanZosimov 34c30d0e81 Refactor logic 2 years ago
IvanZosimov aa34a3ceaa Fix typo 2 years ago
IvanZosimov 12f70884d7 Fix typo 2 years ago
IvanZosimov 0318091611 Update resolveVersionInput() 2 years ago
IvanZosimov f199d27aa1 Update solution 2 years ago
IvanZosimov 660c25a321 Rebuild action 3 years ago
IvanZosimov 4f6b2f576a Change the logic to support A.B.Cxx 3 years ago
Ivan c82240598b
Add and configure ESLint and update configuration for Prettier (#391)
* Apply ESLint config and update Prettier

* Update dependencies and rebuild

* Update docs
3 years ago
IvanZosimov 0c8652569e Fix error message 3 years ago
MaksimZhukov 607fce577a
Update the link to the .Net Core releases index file (#337) 3 years ago
Ivan 4d4a70f4a5
Add logic for processing DOTNET_INSTALL_DIR environment variable (#332) 3 years ago
Ivan 45c9f236cf
Enable ability to change .NET SDK installation directory by `DOTNET_INSTALL_DIR` environment variable (#329) 3 years ago
Ivan c7e7147fd3
Add ability to write resolved version of SDK into the output variable (#324) 3 years ago
Ivan 0705ef0281
Implement proposal stated in ADR for setup-dotnet v3 and functionality from feature request #219 (#315) 3 years ago
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>
3 years ago
GGG KILLER 499789684c
Warn users when installing EOL .NET versions (#245) 4 years ago
La'Kaleigh Harris 550702114f
Support multiple versions in single invocation (#240) 4 years ago
GGG KILLER 87189a16c7 Merge branch 'main' of https://github.com/actions/setup-dotnet into feature/include-prerelease 4 years ago
Dmitry Shibanov 6930747f7f create release 5 years ago
Dmitry Shibanov 20afff9c90 work on fixing test 5 years ago