Commit Graph

104 Commits (3447fd6a9f9e57506b15f895c5b76d3b197dc7c2)

Author SHA1 Message Date
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
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 21cf89aa73 Remove commented lines of code 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
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 2 years ago
IvanZosimov 4f6b2f576a Change the logic to support A.B.Cxx 2 years ago
Othmane KINANE 1d9f0dad5b
Accept absolute paths for 'global-json-file' input (#396) 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
Theodore Tsirpanis 9984a6fa87 Warn if the action ends up not installing any .NET version. 3 years ago
MaksimZhukov 607fce577a
Update the link to the .Net Core releases index file (#337) 3 years ago
Evgenii Korolevskii 239baf3c5b Merge branch 'main' into refactor-nuget-cfg-parse 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
Evgenii Korolevskii 629365b26e Merge branch 'main' into refactor-nuget-cfg-parse 3 years ago
Evgenii Korolevskii 942a0bea39 format 3 years ago
Evgenii Korolevskii 26db2473e9 fix empty first line 3 years ago
Evgenii Korolevskii 467621733d add packageSourceCredentials 3 years ago
Evgenii Korolevskii bdd38d13dc build 3 years ago
Evgenii Korolevskii 1d2f8f9eaf add debug log 3 years ago
Evgenii Korolevskii 354d280fa3 refactor using of XMLBuilder 3 years ago
Evgenii Korolevskii 90642fa8c5 update parser to v4 3 years ago
Ivan c7e7147fd3
Add ability to write resolved version of SDK into the output variable (#324) 3 years ago
Evgenii Korolevskii cf081e76a2 merge main & build 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
Nogic ba5e53c61d refactor: use core.getBooleanInput() 3 years ago
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>
3 years ago
Adam Ralph c20f59e04a
Avoiding installing the same version multiple times (#252) 4 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
Vladimir Safonkin b2cf6c7cd4 Handle only latestFeature option 4 years ago
Vladimir Safonkin 33fad1d142 Format code 4 years ago
Vladimir Safonkin 2c3efd1f04 Improve condition 4 years ago
Vladimir Safonkin 078f7c4a73 Format code 4 years ago
Vladimir Safonkin 13fd5bf191 Support rollForward option from global.json 4 years ago