Commit Graph

120 Commits

Author SHA1 Message Date
Evgenii Korolevskii
354d280fa3 refactor using of XMLBuilder 2022-09-30 01:54:05 +02:00
Evgenii Korolevskii
90642fa8c5 update parser to v4 2022-09-29 18:23:42 +02:00
Ivan
c7e7147fd3
Add ability to write resolved version of SDK into the output variable (#324) 2022-09-29 17:45:25 +02:00
Evgenii Korolevskii
cf081e76a2 merge main & build 2022-09-28 15:30:56 +02:00
Ivan
0705ef0281
Implement proposal stated in ADR for setup-dotnet v3 and functionality from feature request #219 (#315) 2022-09-27 14:47:12 +02:00
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>
2022-09-26 10:12:13 +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
Alex Mullans
70528ac007 Support for non-GPR sources 2019-10-03 17:29:44 -07:00
Alex Mullans
6bd4969ec6 GPR authentication support 2019-10-03 16:35:25 -07:00
Robert Jeppesen
a668ade667 Include version/architecture in DOTNET_ROOT
Fixes #29
2019-09-11 20:22:37 +02:00
damccorm
e28ad717b8 Feedback 2019-08-29 16:15:06 -04:00
damccorm
f7896b6c4c Update from obsolete endpoint 2019-08-29 15:10:05 -04:00
Danny McCormick
1c11308e52
Add DOTNET_ROOT (#12)
* Add DOTNET_ROOT

* Correct path

* DOTNET_ROOT should point at root, not versioned folder
2019-08-23 10:38:29 -04:00
Danny McCormick
553ff3fdfc
Merge branch 'master' into global-json 2019-08-14 10:01:21 -04:00
Danny McCormick
fe9489df58
Use dotnet-version (#16) 2019-08-13 16:05:52 -04:00
Danny McCormick
db362d751e Feedback 2019-08-12 12:14:43 -04:00
Danny McCormick
3280df5864 Fallback to global.json if no version specified 2019-08-12 10:51:47 -04:00
Danny McCormick
fa5b2a78ea Merge branch 'master' of https://github.com/actions/setup-dotnet 2019-07-25 14:19:54 -04:00
Danny McCormick
e6ea2e057b Inconsistent splitting behavior fix 2019-07-25 14:18:57 -04:00
Danny McCormick
32271541ae
Fix fallback urls (#6) 2019-07-23 11:03:29 -04:00
Danny McCormick
211f0312b0
Add C# problem matcher (#2)
* Add c# problem matcher

* ##[add-matcher]
2019-06-21 09:44:33 -04:00
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
2019-06-21 08:21:08 -04:00