Skip to content

Commit 0dff479

Browse files
committed
Refactor GitHub Actions workflow to use Cake action for packaging and comment out legacy installation steps
1 parent c3a1ab7 commit 0dff479

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/main.yml

+12-6
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,16 @@ jobs:
3131
with:
3232
dotnet-version: "8.0.x"
3333

34-
- name: Install Cake.Tool
35-
run: |
36-
dotnet tool install --global Cake.Tool
37-
dotnet tool restore
34+
- name: Run the Cake script
35+
uses: cake-build/cake-action@v3
36+
with:
37+
script-path: ./build.cake
38+
target: Pack
39+
40+
# - name: Install Cake.Tool
41+
# run: |
42+
# dotnet tool install --global Cake.Tool
43+
# dotnet tool restore
3844

39-
- name: Run Cake build
40-
run: dotnet cake --target=Pack
45+
# - name: Run Cake build
46+
# run: dotnet cake --target=Pack

0 commit comments

Comments
 (0)