40 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
Dmitry Shibanov
5cc895510b
Update @zeit/ncc to @vercel/ncc (#290)
* update @zeit/ncc to @vercel/ncc

* rebuild project
2022-04-28 11:37:53 +02: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
Vladimir Safonkin
9744af7b74 Update dependencies 2022-02-24 18:04:55 +03:00
Vladimir Safonkin
d292011f5d Update node version to v16 2022-02-24 11:16:01 +03: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
b66058b059 Build index.js 2021-08-30 17:35:17 +03:00
Vladimir Safonkin
2c3efd1f04 Improve condition 2021-08-20 17:28:10 +03:00
Vladimir Safonkin
0067f023d2 Fix unstaged changes in index.js 2021-08-20 16:45:26 +03:00
Vladimir Safonkin
6b8ad2e725 Revert exports in index.js 2021-08-20 15:48: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
34c59b7d0b build dist/index.js 2021-04-28 17:29:56 +05:00
GGG KILLER
291588df6a Rerun build 2021-04-22 12:22:10 -03: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
07b4a80293 Build index.js 2021-04-19 14:26:52 +03:00
Vladimir Safonkin
b81836a248 Fix index.js 2021-04-15 13:57:21 +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
Thomas Boop
51f68377c1
Update @actions/core Version and move towards uses environment files to talk to runner (#135)
* update toolkit version

* update licensed

* fix typo
2020-09-29 08:12:29 -07:00
Zachary Eisinger
7a98346f51
DOTNET_ROOT and short generic versions (#131) 2020-09-24 08:26:00 -07:00
dependabot[bot]
9d7c66c348
Bump node-fetch from 2.6.0 to 2.6.1 (#127)
* Bump node-fetch from 2.6.0 to 2.6.1

Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

* Package and index update

* Formatting on installer.test

* Updated licenses

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zachary Eisinger <zeisinger@github.com>
2020-09-21 12:49:32 -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
Zachary Eisinger
20a4db787c Rebuild index file 2020-07-15 10:28:27 -07:00
Matt Alioto
a40afdb08e Try resetting line endings to fix the Mac side of the build 2020-05-29 20:59:45 -04:00
Matt Alioto
8388fb6ff7 Reword comment & finish deprecation of old version argument 2020-05-29 20:01:32 -04:00
Zachary Eisinger
e169331466 Rebuild dist package 2020-05-29 14:04:53 -07:00
Zachary Eisinger
7895df17cc package updates 2020-05-15 14:42:54 -07:00
Zachary Eisinger
a0982bfd3a Merge remote-tracking branch 'origin/master' into global-json 2020-05-15 14:04:07 -07:00
eric sciple
cf5f899a30 follow proxy settings 2020-02-06 15:02:47 -05:00