diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml index 9541f12..9b97001 100644 --- a/.github/workflows/dotnet-desktop.yml +++ b/.github/workflows/dotnet-desktop.yml @@ -17,7 +17,7 @@ jobs: with: dotnet-version: '8.0.x' - name: Clean - run: dotnet clean $env:GITHUB_WORKSPACE\EvernoteToNotionChrome.sln --configuration Release && dotnet nuget locals all --clear + run: dotnet clean $env:GITHUB_WORKSPACE\HTMLToNotion\HTMLToNotion.csproj --configuration Release && dotnet nuget locals all --clear - name: Restore dependencies run: dotnet restore - name: Build @@ -28,11 +28,11 @@ jobs: run: dotnet publish -c Release --runtime win-x64 --self-contained=true - 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\HTMLToDocX\bin\Release\net8.0-windows\win-x64\publish\HTMLToDocX.exe + - run: powershell .\DotNetDllPathPatcherCMD\publish\DotNetDllPathPatcherCMD.exe $env:GITHUB_WORKSPACE\HTMLToDocX\bin\Release\net8.0-windows\win-x64\publish\HTMLToNotion.exe - name: Compress - run: powershell Compress-Archive -Path $env:GITHUB_WORKSPACE\HTMLToDocX\bin\Release\net8.0-windows\win-x64\publish -DestinationPath .\HTMLToDocX.zip + run: powershell Compress-Archive -Path $env:GITHUB_WORKSPACE\HTMLToNotion\bin\Release\net8.0-windows\win-x64\publish -DestinationPath .\HTMLToNotion.zip - name: Create a Release uses: ncipollo/release-action@v1 with: - artifacts: "HTMLToDocX.zip" - token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + artifacts: "HTMLToNotion.zip" + token: ${{ secrets.GITHUB_TOKEN }}