Skip to content

Commit 33c0512

Browse files
authored
Update dotnet-desktop.yml
1 parent 18269a9 commit 33c0512

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

.github/workflows/dotnet-desktop.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,17 @@ jobs:
1919

2020
# Publish (Self-contained) so user doesn't need to install .NET runtime
2121
- name: Publish (win-x64)
22-
run: |
23-
dotnet publish .\Monitor\Monitor.csproj -c Release -r win-x64 --self-contained true ^
24-
/p:PublishSingleFile=true ^
25-
/p:IncludeNativeLibrariesForSelfExtract=true ^
26-
/p:DebugType=None ^
27-
/p:DebugSymbols=false ^
28-
-o .\publish
22+
shell: pwsh
23+
run: >
24+
dotnet publish .\Monitor\Monitor.csproj
25+
-c Release
26+
-r win-x64
27+
--self-contained true
28+
/p:PublishSingleFile=true
29+
/p:IncludeNativeLibrariesForSelfExtract=true
30+
/p:DebugType=None
31+
/p:DebugSymbols=false
32+
-o .\publish
2933
3034
- name: Create ZIP
3135
run: |

0 commit comments

Comments
 (0)