You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,17 +3,19 @@ Github action for reporting on outdated dotnet packages in a solution or project
3
3
4
4
## Overview
5
5
6
-
This action will run either or both of:
6
+
This action will run either or both of:
7
7
8
8
- <ahref="https://github.com/dotnet-outdated/dotnet-outdated">dotnet-outdated</a> against a supplied dotnet solution or project
9
9
- <ahref="https://github.com/MeilCli/npm-update-check-action">npm-update-check-action</a> against a supplied npm project directory
10
10
11
11
> [!NOTE]
12
12
> The intention of this action is purely to notify of any outdated packages and _not_ to perform any kind of update action.
13
-
>
13
+
>
14
14
> Reports for any outdated packages found are added as a comment to the pull request used to run this action.
15
-
>
15
+
>
16
16
> If the action is re-run against a pull request that has already been commented on, the existing comment will be updated.
17
+
>
18
+
> `v1.7.0` and `v2.0.0` of this action are functionally identical, except `v1.7.0` defaults to using dotnet `8.*.*` and `v2.0.0` defaults to using dotnet `9.*.*`.
17
19
18
20
> [!WARNING]
19
21
> This action is designed to be actioned only within the context of a pull request, no other scenarios are catered for.
@@ -34,7 +36,7 @@ This action will run either or both of:
34
36
35
37
#### `dotnet-version`
36
38
37
-
**Optional** - The version of dotnet to use. Default `8.*.*`.
39
+
**Optional** - The version of dotnet to use. Default `9.*.*`.
38
40
39
41
#### `use-npm-outdated`
40
42
@@ -48,7 +50,7 @@ This action will run either or both of:
48
50
49
51
**Optional** - When true, don't add a success comment to the PR when checks are successful. Default `false`.
50
52
51
-
## Example github action
53
+
## Example github action
52
54
53
55
outdated.yml
54
56
```yaml
@@ -73,7 +75,7 @@ jobs:
73
75
pull-requests: write
74
76
75
77
steps:
76
-
- uses: trossr32/outdated-packages-action@v1.7.0
78
+
- uses: trossr32/outdated-packages-action@v2.0.0
77
79
with:
78
80
# Whether to run dotnet-outdated. Default is false if not supplied.
79
81
use-dotnet-outdated: true
@@ -85,7 +87,7 @@ jobs:
85
87
# Space delimited string of package names, e.g. "Microsoft.Extensions.Logging Microsoft.Extensions.Logging.Abstractions"
0 commit comments