diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml index 753fec1..a50f700 100644 --- a/.github/workflows/dotnet-desktop.yml +++ b/.github/workflows/dotnet-desktop.yml @@ -29,8 +29,11 @@ jobs: run: dotnet test --no-build --verbosity normal - name: Publish run: dotnet publish -c Release -r win-x64 + - run: powershell curl https://github.com/aiqinxuancai/DotNetDllPathPatcherWPF/releases/download/v0.0.15/DotNetDllPathPatcherCMD.zip -o DotNetDllPathPatcherCMD.zip + - run: powershell Expand-Archive -Path .\DotNetDllPathPatcherCMD.zip -DestinationPath .\DotNetDllPathPatcherCMD + - run: powershell .\DotNetDllPathPatcherCMD\publish\DotNetDllPathPatcherCMD.exe $env:GITHUB_WORKSPACE\WkyFast\bin\Release\net6.0-windows\win-x64\publish\EvernoteToNotionChrome.exe - name: Compress - run: powershell Compress-7Zip $env:GITHUB_WORKSPACE\EvernoteToNotionChrome\bin\Release\net5.0-windows\win-x64\publish -ArchiveFileName "EvernoteToNotionChrome.zip" -Format Zip + run: powershell Compress-7Zip $env:GITHUB_WORKSPACE\EvernoteToNotionChrome\bin\Release\net6.0-windows\win-x64\publish -ArchiveFileName "EvernoteToNotionChrome.zip" -Format Zip - name: Create a Release uses: ncipollo/release-action@v1 with: