Skip to content

Commit 1b577bc

Browse files
committed
Rename built .exe to remove .Desktop from file name
1 parent 14a12ac commit 1b577bc

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/dotnet-desktop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fetch-depth: 0
1818

1919
- name: Build
20-
run: dotnet publish MystIVAssetExplorer.Desktop -c Release -o artifacts/Bin /bl:artifacts/Logs/publish.binlog
20+
run: .\build.ps1
2121

2222
- name: Upload bin artifact
2323
if: always()

build.ps1

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
$ErrorActionPreference = 'Stop'
2+
$PSNativeCommandUseErrorActionPreference = $true
3+
4+
dotnet publish MystIVAssetExplorer.Desktop -c Release -o artifacts/Bin /bl:artifacts/Logs/publish.binlog
5+
6+
Move-Item artifacts/Bin/MystIVAssetExplorer.Desktop.exe artifacts/Bin/MystIVAssetExplorer.exe -Force

0 commit comments

Comments
 (0)