Skip to content

Commit 9a946fd

Browse files
Add rollForward note in README, improve proxy health check in e2e tests and bump version to v5.3.0 (#738)
* docs: add note about latest* rollForward support in global.json * update health check options for squid proxy in e2e tests
1 parent 98af08b commit 9a946fd

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/e2e-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,11 @@ jobs:
577577
image: ubuntu/squid:latest
578578
ports:
579579
- 3128:3128
580+
options: >-
581+
--health-cmd "bash -c '</dev/tcp/localhost/3128'"
582+
--health-interval 5s
583+
--health-timeout 3s
584+
--health-retries 10
580585
env:
581586
https_proxy: http://squid-proxy:3128
582587
http_proxy: http://squid-proxy:3128

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ steps:
142142
working-directory: csharp
143143
```
144144

145+
> **Note**: The action supports `latest*` variants of the [rollForward](https://learn.microsoft.com/en-us/dotnet/core/tools/global-json#rollforward) field in `global.json`. When set to `latestPatch`, `latestFeature`, `latestMinor`, or `latestMajor`, the action installs the appropriate SDK version.
146+
145147
## Caching NuGet Packages
146148
The action has a built-in functionality for caching and restoring dependencies. It uses [toolkit/cache](https://github.com/actions/toolkit/tree/main/packages/cache) under the hood for caching global packages data but requires less configuration settings. The `cache` input is optional, and caching is turned off by default.
147149

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "setup-dotnet",
3-
"version": "5.0.1",
3+
"version": "5.3.0",
44
"private": true,
55
"description": "setup dotnet action",
66
"main": "dist/setup/index.js",

0 commit comments

Comments
 (0)