File tree Expand file tree Collapse file tree 3 files changed +13
-108
lines changed
Expand file tree Collapse file tree 3 files changed +13
-108
lines changed Original file line number Diff line number Diff line change 2323 runs-on : ${{matrix.os}}
2424 strategy :
2525 matrix :
26- os : [ ubuntu-latest, windows-latest, macOS-latest ]
26+ os : [ubuntu-latest, windows-latest, macOS-latest]
2727 steps :
2828 - name : " Checkout"
2929 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -33,17 +33,21 @@ jobs:
3333 - name : " Install .NET Core SDK"
3434 uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
3535
36- - name : " Dotnet Tool Restore"
37- run : dotnet tool restore
36+ - name : " Restore"
37+ run : dotnet restore
3838
39- - name : " Dotnet Cake Build"
40- run : dotnet cake --target=Build
39+ - name : " Build"
40+ run : dotnet build --configuration Release --no-restore
4141
42- - name : " Dotnet Cake Test"
43- run : dotnet cake --target=Test
42+ - name : " Test"
43+ run : dotnet test --configuration Release --no-build --no-restore
4444
45- - name : " Dotnet Cake Pack"
46- run : dotnet cake --target=Pack
45+ - name : " Pack"
46+ run : |
47+ mkdir -p ./artifacts
48+ dotnet pack --configuration Release --no-build --no-restore \
49+ --include-symbols \
50+ --output ./artifacts \
4751
4852 - name : " Publish artifacts"
4953 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments