diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 44dbb3522..38923452c 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -25,10 +25,13 @@ jobs: sc config WSearch start= auto # Starts Windows Search service- Needed for running ExplorerTest net start WSearch - uses: actions/checkout@v4 - - name: Set version in all AssemblyInfo.cs files - uses: secondbounce/assemblyinfo-update@v2 + - name: Set MyProject.csproj version + id: update + uses: vers-one/dotnet-project-version-updater@v1.5 with: - version: '1.17.2' + file: | + "Flow.Launcher/**/*.csproj", "Flow.Launcher/**/*.nuspec", "Flow.Launcher/**/AssemblyInfo.cs" + version: "1.17.2" - uses: actions/cache@v4 name: Restore Nuget Cache with: diff --git a/Scripts/post_build.ps1 b/Scripts/post_build.ps1 index cdc1b398d..535560b01 100644 --- a/Scripts/post_build.ps1 +++ b/Scripts/post_build.ps1 @@ -80,7 +80,7 @@ function Delete-Unused($path, $config) foreach ($i in $deleteList) { - Write-Host "Deleting duplicated $i.Name with version $i.VersionInfo.FileVersion at location $i.Directory.FullName" + write Deleting duplicated $i.Name with version $i.VersionInfo.FileVersion at location $i.Directory.FullName Remove-Item $i } Remove-Item -Path $target -Include "*.xml" -Recurse