65 Commits

Author SHA1 Message Date
IvanZosimov
8b5d13bd26 Implement proposal stated in ADR for setup-dotnet v3
In the scope of this commit such functionalty was added:
1. Installation directories for Windows and Ubuntu were changed to
the folder with preinstalled .NET SDK's
2. Inner logic of interaction with MS dotnet installer scripts was
 changed
3. New input "dotnet-quality" was added
Such functionality was cut out:
1. Input "include-prerelease"
2022-09-14 12:34:42 +02:00
Nogic
ba5e53c61d refactor: use core.getBooleanInput() 2022-07-31 23:27:05 +00:00
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>
2022-04-18 08:25:56 -04:00
Adam Ralph
c20f59e04a
Avoiding installing the same version multiple times (#252) 2021-12-29 14:07:42 +03: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
Vladimir Safonkin
b2cf6c7cd4 Handle only latestFeature option 2021-08-30 17:27:01 +03:00
Vladimir Safonkin
33fad1d142 Format code 2021-08-20 17:28:30 +03:00
Vladimir Safonkin
2c3efd1f04 Improve condition 2021-08-20 17:28:10 +03:00
Vladimir Safonkin
078f7c4a73 Format code 2021-08-20 15:44:47 +03:00
Vladimir Safonkin
13fd5bf191 Support rollForward option from global.json 2021-08-20 15:43:49 +03:00
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
2021-05-05 15:53:38 +03:00
Sergey Dolin
bd485b6bd1 Add workaround to fix BOM-related error during parsing global.json 2021-04-28 13:43:02 +05: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
Vladimir Safonkin
cde58ab948 Resolve conflicts 2021-04-22 14:19:03 +03:00
Alena Sviridenko
7790315509
Fix for 5.x notation #175 2021-04-22 14:06:54 +03:00
Vladimir Safonkin
3edf2e9363 Minor fix 2021-04-19 16:16:44 +03:00
Vladimir Safonkin
a8c97016ef Minor fix 2021-04-19 16:11:14 +03:00
Vladimir Safonkin
d08d2193f9 Prettier 2021-04-19 14:26:05 +03:00
Vladimir Safonkin
632ccbdfb9 Support nuget.config name formats 2021-04-19 14:25:42 +03:00
Vladimir Safonkin
3b539379a8 Minor fix 2021-04-15 13:44:48 +03:00
Vladimir Safonkin
596753d72c Minor fix 2021-04-15 13:43:20 +03:00
Vladimir Safonkin
f9d7f16c00 Improve key names validation for keys from user nuget config 2021-04-15 13:30:04 +03:00
Vladimir Safonkin
56d96e897e Improve key names validation for keys from user nuget config 2021-04-15 13:28:24 +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
Zachary Eisinger
3569a93d9f
Honor specified nuget file location (#109)
* Honor specified nuget file location

* Generate and verify nuget.config
2020-09-02 11:11:56 -07:00
Matt Alioto
8388fb6ff7 Reword comment & finish deprecation of old version argument 2020-05-29 20:01:32 -04:00
Zachary Eisinger
40390722c2 Merge branch 'support-latest-version' of https://github.com/litetex/setup-dotnet-forked into litetex-support-latest-version 2020-05-29 14:04:29 -07:00
Zachary Eisinger
308b9ff32c Prettier and update bash 2020-05-15 14:21:50 -07:00
Zachary Eisinger
a0982bfd3a Merge remote-tracking branch 'origin/master' into global-json 2020-05-15 14:04:07 -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
litetex
3eb0d2f3dd Reworked version parser
* Updated tests
2020-04-05 15:37:29 +02:00
litetex
ebefd7bccb More tests and more fixes 2020-04-04 19:34:45 +02:00
litetex
a5cce9bf9f Refactoring
* Added more tests
* Allowed also exact versions again
2020-04-04 19:23:59 +02:00
litetex
fd402244d0 Added support for latest version syntax 2020-04-04 18:05:12 +02:00
eric sciple
cf5f899a30 follow proxy settings 2020-02-06 15:02:47 -05:00
Zachary Eisinger
0f6f11a751 Remove warning on master branch 2019-12-20 07:46:09 -08:00
Zachary Eisinger
167e5cb271 Remove special case for gpr url 2019-11-25 15:16:52 -08:00
Stanley Goldman
a3e2a47c75
Removing unused imports 2019-11-08 11:24:36 -05:00
Stanley Goldman
474fe34688
Merge branch 'master' into master 2019-11-08 17:15:28 +01:00
Zachary Eisinger
e1b1954735
Warn on master (#45)
Add warning message when running on master
2019-10-24 13:32:42 -07:00
Zachary Eisinger
c0e4e5bdd4
Merge pull request #30 from actions/obsolete-endpoint
Update from obsolete endpoint
2019-10-22 10:50:14 -07:00
Alex Mullans
2f00ce2a3e Missing /index.json restored 2019-10-04 08:03:54 -07:00