Commit Graph

127 Commits (main)

Author SHA1 Message Date
Zachary Taylor 83c0c1a6c8
`v4` - Remove `azureedge.net` fallback logic and update install scripts (#572)
* Remove logic for azureedge.net fallback in preparation for install script changes

* remove extra spacing

* Update README.md (#587)

* upgrade cache from 3.2.4 to 4.0.0 (#586)

* upgrade cache to 4.0.0

* license update

* failure fix

* e2e failure fix

* Configure Dependabot settings (#585)

* Create dependabot.yml

* update latest install scripts

* Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 (#590)

Bumps [actions/publish-immutable-action](https://github.com/actions/publish-immutable-action) from 0.0.3 to 0.0.4.
- [Release notes](https://github.com/actions/publish-immutable-action/releases)
- [Commits](https://github.com/actions/publish-immutable-action/compare/0.0.3...v0.0.4)

---
updated-dependencies:
- dependency-name: actions/publish-immutable-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @actions/http-client from 2.2.1 to 2.2.3 (#592)

* Bump @actions/http-client from 2.2.1 to 2.2.3

Bumps [@actions/http-client](https://github.com/actions/toolkit/tree/HEAD/packages/http-client) from 2.2.1 to 2.2.3.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/http-client/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/http-client)

---
updated-dependencies:
- dependency-name: "@actions/http-client"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* fix for the check failures

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>

* Bump undici from 5.28.4 to 5.28.5 (#596)

* Bump undici from 5.28.4 to 5.28.5

Bumps [undici](https://github.com/nodejs/undici) from 5.28.4 to 5.28.5.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.28.4...v5.28.5)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

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

* fix for the check failures

* fix for licensed check failure

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>

* Remove old URLs from E2E tests workflow

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Ben Wells <benwells@github.com>
Co-authored-by: aparnajyothi-y <147696841+aparnajyothi-y@users.noreply.github.com>
Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aparna Jyothi <aparnajyothi-y@github.com>
7 months ago
Dylan 87b7050bc5
V4 - Use new .NET CDN URLs and update to latest install scripts (#566)
* Use new .NET CDN URL

* Update to latest install-dotnet scripts

* Use signed version of new `install-dotnet.ps1`

* Add fallback to old CDN URL
9 months ago
John Wesley Walker III 3e891b0cb6
Revise `isGhes` logic (#556)
* Revise `isGhes` logic

* `isGhes` should not be exported

* ran `npm run format` and `npm run build`

* ran `npm run update-installers`
11 months ago
HarithaVattikuti 4d6c8fcf3c
Upgrade Node to v20 (#484)
* Node Version upgrade to 20

* 4.0.0

* Action Files upgrade to 20

* Updated version for outdated

* Update Format check

* Auth Test file update
2 years ago
Nikolai Laevskii 9b40770825
Merge pull request #433 from akv-platform/sequential-version-install-fix
Sequential version install fix
2 years ago
Nikolai Laevskii 70fa3206c9
Merge pull request #431 from akv-platform/allow-json-comments
Allow json comments
2 years ago
Nikolai Laevskii d1c99df34e Parse global.json with JSON5 2 years ago
Nikolai Laevskii 8f71719d12 Add dotnet runtime installation before main script run 2 years ago
Nikolai Laevskii 6019612129 Merge remote-tracking branch 'github/main' into refactor-installer 2 years ago
Nikolai Laevskii addb470701 Make setup script functions synchronous 2 years ago
Nikolai Laevskii 820f30d332 Make assigning of the script path intuitive 2 years ago
Nikolai Laevskii 89b480a0df Call addToPath method on DotnetInstallDir directly 2 years ago
Nikolai Laevskii defac2491f Rename initialize to setEnvironmentVariable 2 years ago
Nikolai Laevskii 916aec40c9 Rename DotnetInstallDir.path to DotnetInstallDir.dirPath 2 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>
2 years ago
Nikolai Laevskii 80a318b8b8 Change PLATFORM to constant instead of function 2 years ago
Nikolai Laevskii 5c7ae4f903 Apply consistent naming 2 years ago
Nikolai Laevskii b7461a1b69 Remove excessive whitespace 2 years ago
Nikolai Laevskii cce8e1bad1 Merge branch 'main' into refactor-installer 2 years ago
Nikolai Laevskii df506c2d9c Refactor convertInstallPathToAbsolute 2 years ago
Nikolai Laevskii 7e164d3c3b Fix DOTNET_INSTALL_DIR enviornment variable 2 years ago
Nikolai Laevskii 3dfe2673eb Format: Refactor installer 2 years ago
IvanZosimov b05a3f26b3 Fix review points, rebuild solution 2 years ago
IvanZosimov 38b49fb717 Fix informational and debug messages 2 years ago
IvanZosimov 3cf3e230c1 Fix informational message 2 years ago
IvanZosimov 83a1653fa3 Update regular expresiion for isLatestPatchSyntax() 2 years ago
IvanZosimov 2f028bc044 update unit and e2e tests 2 years ago
IvanZosimov 21cf89aa73 Remove commented lines of code 2 years ago
IvanZosimov fefaa59d2e update logic of outputting dotnet-version 2 years ago
IvanZosimov 0bc43909e0 Update mechanic of outputting installed dotnet version 2 years ago
Nikolai Laevskii aa85432603 Refactor installer 2 years ago
Nikolai Laevskii 6d92b9bd53 Refactor install dir computation 2 years ago
IvanZosimov c5a57b219c Update unit-tests 2 years ago
IvanZosimov 6adeb768ce Update docs 2 years ago
IvanZosimov 559e47b01b Fix review points 2 years ago
IvanZosimov 7358a44590 Update unit tests 2 years ago
IvanZosimov 34c30d0e81 Refactor logic 2 years ago
IvanZosimov aa34a3ceaa Fix typo 2 years ago
IvanZosimov 12f70884d7 Fix typo 2 years ago
IvanZosimov 0318091611 Update resolveVersionInput() 2 years ago
IvanZosimov f199d27aa1 Update solution 2 years ago
IvanZosimov 660c25a321 Rebuild action 2 years ago
IvanZosimov 4f6b2f576a Change the logic to support A.B.Cxx 2 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
IvanZosimov 0c8652569e Fix error message 3 years ago
Theodore Tsirpanis 9984a6fa87 Warn if the action ends up not installing any .NET version. 3 years ago
MaksimZhukov 607fce577a
Update the link to the .Net Core releases index file (#337) 3 years ago
Evgenii Korolevskii 239baf3c5b Merge branch 'main' into refactor-nuget-cfg-parse 3 years ago
Ivan 4d4a70f4a5
Add logic for processing DOTNET_INSTALL_DIR environment variable (#332) 3 years ago