Commit Graph

68 Commits

Author SHA1 Message Date
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
IvanZosimov
6adeb768ce Update docs 2023-05-05 10:43:09 +02:00
Ivan
926f442022
Update workflow badges (#377) 2023-01-31 10:29:16 +02:00
IvanZosimov
13abe4777e Update step id naming 2022-12-20 15:31:56 +01:00
IvanZosimov
aefe5b483f Update README.md 2022-12-20 15:03:30 +01:00
IvanZosimov
047f06d086 Update README.md 2022-12-20 14:58:50 +01:00
IvanZosimov
014f8c8384 Add part about temporary global.json files 2022-12-20 12:30:05 +01:00
IvanZosimov
80c862dc38 Update README.md 2022-12-20 11:45:22 +01:00
IvanZosimov
e21107efbd Update README.md 2022-12-20 11:41:39 +01:00
IvanZosimov
d8f1ab14a7 Add link to global.json documentation ti README.md 2022-12-20 11:38:26 +01:00
IvanZosimov
f05a62b1cc Update README.md to clarify installation process 2022-12-20 11:36:11 +01:00
Ivan
4d4a70f4a5
Add logic for processing DOTNET_INSTALL_DIR environment variable (#332) 2022-10-10 14:27:29 +02:00
Ivan
45c9f236cf
Enable ability to change .NET SDK installation directory by DOTNET_INSTALL_DIR environment variable (#329) 2022-10-04 10:22:05 +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
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
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
9283a8cf7a
switch side by side testing example to single setup step (#283) 2022-04-11 11:50:34 -04:00
Vladimir Safonkin
53d632b5c0
Update docs to v2 (#278)
* Update docs to v2

* Bump checkout action to v3

* Update installer scripts

* Replace v2 to vX on the docs, minor fixes

* Remove extra whitespace
2022-04-01 09:48:47 -04:00
Thomas Ardal
13b852df87
Moved checkout above setup step to align with the other samples (#256) 2021-12-28 15:37:44 +03:00
Pure Krome
76ddd67c90
Fix a space in the documentation (#248) 2021-11-23 16:56:22 +03:00
La'Kaleigh Harris
550702114f
Support multiple versions in single invocation (#240) 2021-11-23 13:03:56 +03:00
David Pine
44530e8569
Update README.md
Fix the README.md file to avoid the .NET CLI repo link that is now the .NET SDK repo.
2021-10-05 10:05:48 -05:00
Thomas Pisula
e26fc623bc
Update README.md
fix docs
2021-08-29 14:56:20 +02:00
George Chakhidze
bab14f40fd
Update link to dotnet environment variables docs
Old: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet#environment-variables
New: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-environment-variables
2021-07-28 14:48:24 +04:00
Darii Nurgaleev
450b569534
Update README.md 2021-05-06 21:38:47 +07:00
Darii Nurgaleev
e1cf912aaf
Update README.md 2021-05-06 20:10:13 +07:00
Darii Nurgaleev
03d6eb5402
Update README.md 2021-05-06 15:10:43 +07:00
Darii Nurgaleev
effa3e26d2
Update README.md 2021-05-06 02:55:59 +07:00
Maxim Lobanov
b50d70502b Update README.md 2021-05-05 16:47:58 +03:00
Maxim Lobanov
d8cff32ae5 Update README.md 2021-05-05 16:45:32 +03:00
Maxim Lobanov
5a201f5e82
Merge pull request #177 from GGG-KILLER/patch-1
Remove unsupported versions of .NET from README
2021-04-08 09:40:20 +03:00
Andreas Offenhaeuser
f2eb44dadd
Update link to pre-installed runner Software 2021-04-05 21:35:43 +09:00
GGG KILLER
3707a44789
Remove unsupported versions of .NET from README.
.NET Core 2.2 and 3.0 are no longer supported and should not be in the examples.

All versions were changed to pull in the latest revision as people might copy this without
checking all accepted version formats and getting the latest revision is good security practice.
2021-03-25 20:07:28 -03:00
Zachary Eisinger
a1c7110c2a
Add example for SxS testing to Readme 2020-09-17 12:49:59 -07:00
Zachary Eisinger
52dbd90938
Merge pull request #115 from timheuer/patch-2
Update README.md
2020-08-28 12:18:17 -07:00
Zachary Eisinger
221e7bcc3b Use v1 tag for setup-dotnet 2020-08-28 11:58:17 -07:00
Zachary Eisinger
37b9e8b54a
Merge pull request #111 from coderpatros/doco
Add note and link to documentation on already available .NET SDKs
2020-08-28 11:33:16 -07:00
No Name Pro
c7a4f4e270
YAML Formatting at a example workflow
YAML Format of the code at 'Example usage' with Environment Variables
2020-08-15 18:12:04 +02:00
Tim Heuer
9bdaa47c80
Update README.md
Matching readme to latest release version and fixing checkout action (best practice not to use `@main` versioning)
2020-08-03 16:19:34 -07:00
Patrick Dwyer
81ca5f786c
Merge remote-tracking branch 'origin/main' into doco 2020-07-17 21:20:59 +10:00
Patrick Dwyer
257d9b2a19
Add note and link to documentation on already available .NET SDKs 2020-07-17 21:20:05 +10:00
Zachary Eisinger
4114018c87 Update references to main branch 2020-07-15 10:00:26 -07:00
Zachary Eisinger
73683e5d2f
Merge pull request #92 from actions/readme-envvars
Include useful environment variables in the README
2020-06-12 10:51:24 -07:00
Zachary Eisinger
5091cc16d9
Update environment variable scope 2020-06-01 08:53:23 -07:00
Zachary Eisinger
fe5534da38
Include useful environment variables in the README 2020-05-29 13:39:14 -07:00
litetex
3de417d35c Update README.md 2020-04-09 19:29:16 +02:00
Alex
08fb271bd7
Update README.md 2020-04-04 19:47:16 +02:00
litetex
561f9e2075 Updated doc 2020-04-04 18:09:19 +02:00
Tim Heuer
73b32e9eb3
Updating readme snippets to show latest SDK
Given the LTS release of .NET Core it's good practice that any samples using the SDK should use the supported versions.  2.2 is no longer a supported version in a month or so and the latest SDK should be used in examples.  Minor change, but important for copy/paste folks.
2019-12-17 13:21:43 -08:00
Zachary Eisinger
932d77f347
Update readme with description for nuget auth 2019-12-13 12:52:24 -08:00