Commit Graph

41 Commits (a1362b197c1e910a9c9f5e0079f8cf259b80748f)

Author SHA1 Message Date
Nikolai Laevskii 70fa3206c9
Merge pull request #431 from akv-platform/allow-json-comments
Allow json comments
3 years ago
Nikolai Laevskii d1c99df34e Parse global.json with JSON5 3 years ago
Nikolai Laevskii 6019612129 Merge remote-tracking branch 'github/main' into refactor-installer 3 years ago
Nikolai Laevskii 89b480a0df Call addToPath method on DotnetInstallDir directly 3 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>
3 years ago
IvanZosimov b05a3f26b3 Fix review points, rebuild solution 3 years ago
IvanZosimov 38b49fb717 Fix informational and debug messages 3 years ago
IvanZosimov 2f028bc044 update unit and e2e tests 3 years ago
IvanZosimov 21cf89aa73 Remove commented lines of code 3 years ago
IvanZosimov fefaa59d2e update logic of outputting dotnet-version 3 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
Theodore Tsirpanis 9984a6fa87 Warn if the action ends up not installing any .NET version. 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
Nogic ba5e53c61d refactor: use core.getBooleanInput() 4 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>
4 years ago
Adam Ralph c20f59e04a
Avoiding installing the same version multiple times (#252) 4 years ago
La'Kaleigh Harris 550702114f
Support multiple versions in single invocation (#240) 4 years ago
Vladimir Safonkin b2cf6c7cd4 Handle only latestFeature option 5 years ago
Vladimir Safonkin 33fad1d142 Format code 5 years ago
Vladimir Safonkin 2c3efd1f04 Improve condition 5 years ago
Vladimir Safonkin 078f7c4a73 Format code 5 years ago
Vladimir Safonkin 13fd5bf191 Support rollForward option from global.json 5 years ago
Maxim Lobanov 7b2009794e
Merge pull request #110 from GGG-KILLER/feature/include-prerelease
Include include-prerelease option to be able to match latest prerelease versions
5 years ago
Sergey Dolin bd485b6bd1 Add workaround to fix BOM-related error during parsing global.json 5 years ago
GGG KILLER 768b4eb7db Implement passing includePrerelase to semver 5 years ago
Matt Alioto 8388fb6ff7 Reword comment & finish deprecation of old version argument 6 years ago
Zachary Eisinger 308b9ff32c Prettier and update bash 6 years ago
Zachary Eisinger a0982bfd3a Merge remote-tracking branch 'origin/master' into global-json 6 years ago
Zachary Eisinger 0f6f11a751 Remove warning on master branch 6 years ago
Stanley Goldman 474fe34688
Merge branch 'master' into master 6 years ago
Zachary Eisinger e1b1954735
Warn on master (#45)
Add warning message when running on master
6 years ago
Alex Mullans 70528ac007 Support for non-GPR sources 6 years ago
Alex Mullans 6bd4969ec6 GPR authentication support 6 years ago
Danny McCormick 553ff3fdfc
Merge branch 'master' into global-json 7 years ago
Danny McCormick fe9489df58
Use dotnet-version (#16) 7 years ago
Danny McCormick db362d751e Feedback 7 years ago
Danny McCormick 3280df5864 Fallback to global.json if no version specified 7 years ago
Danny McCormick 211f0312b0
Add C# problem matcher (#2)
* Add c# problem matcher

* ##[add-matcher]
7 years ago
Danny McCormick 187843cd79
Add installer (#1)
* Add installer

* Add tests

* install-dotnet script should be in externals

* merge

* Fix tests

* Fix naming

* Clean up

* Feedback
7 years ago