setup-dotnet/src
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>
2023-05-29 12:43:18 +02:00
..
authutil.ts Add and configure ESLint and update configuration for Prettier (#391) 2023-03-09 14:43:05 +02:00
cache-restore.ts feat: Cache NuGet global-packages folder (#303) 2023-05-29 12:43:18 +02:00
cache-save.ts feat: Cache NuGet global-packages folder (#303) 2023-05-29 12:43:18 +02:00
cache-utils.ts feat: Cache NuGet global-packages folder (#303) 2023-05-29 12:43:18 +02:00
constants.ts feat: Cache NuGet global-packages folder (#303) 2023-05-29 12:43:18 +02:00
installer.ts feat: Cache NuGet global-packages folder (#303) 2023-05-29 12:43:18 +02:00
setup-dotnet.ts feat: Cache NuGet global-packages folder (#303) 2023-05-29 12:43:18 +02:00
utils.ts Enable ability to change .NET SDK installation directory by DOTNET_INSTALL_DIR environment variable (#329) 2022-10-04 10:22:05 +02:00