Skip to content

Commit cb79b0e

Browse files
committed
Remove cake build step
1 parent bed52af commit cb79b0e

File tree

3 files changed

+13
-108
lines changed

3 files changed

+13
-108
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
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

build.cake

Lines changed: 0 additions & 87 deletions
This file was deleted.

dotnet-tools.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)