File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -35,16 +35,20 @@ jobs:
3535 global-json-file : global.json
3636
3737 - name : Restore dependencies
38- run : dotnet restore $env:solution
38+ run : |
39+ Get-ChildItem -Path src, test -Recurse -Filter *.csproj | ForEach-Object { dotnet restore $_.FullName }
3940
4041 - name : Build
41- run : dotnet build $env:solution --configuration $env:config --no-restore -p:FileVersionRevision=$env:GITHUB_RUN_NUMBER
42+ run : |
43+ Get-ChildItem -Path src, test -Recurse -Filter *.csproj | ForEach-Object { dotnet build --configuration $env:config --no-restore -p:FileVersionRevision=$env:GITHUB_RUN_NUMBER $_.FullName }
4244
4345 - name : Test
44- run : dotnet test $env:solution --configuration $env:config --no-build --verbosity normal
45-
46+ run : |
47+ Get-ChildItem -Path src, test -Recurse -Filter *.csproj | ForEach-Object { dotnet test --configuration $env:config --no-build --verbosity normal $_.FullName }
48+
4649 - name : Pack
47- run : dotnet pack $env:solution --configuration $env:config --no-build
50+ run : |
51+ Get-ChildItem -Path src, test -Recurse -Filter *.csproj | ForEach-Object { dotnet pack --configuration $env:config --no-build $_.FullName }
4852
4953 - name : Upload
5054 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments