From 4073fd87a55da514493b58fdd3bb2ce6ab250bdd Mon Sep 17 00:00:00 2001 From: lx-s Date: Fri, 14 Aug 2026 13:26:03 +0200 Subject: [PATCH] Fixed path in github workflow --- .github/workflows/release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6bdf3da..3eeade9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,7 +51,14 @@ jobs: uses: microsoft/setup-msbuild@v2 - name: Build WinMute.exe - run: msbuild WinMute\WinMute.vcxproj /p:Configuration=Release /p:Platform=x64 /m + run: | + # SolutionDir only resolves correctly when MSBuild is invoked + # through the .sln/.slnx; building the .vcxproj directly (done here + # to avoid depending on the runner's MSBuild supporting .slnx) + # otherwise falls back to the project's own directory, and + # WinMute.props's OutDir/IntDir (which are $(SolutionDir)-relative) + # end up one level too deep. + msbuild WinMute\WinMute.vcxproj /p:Configuration=Release /p:Platform=x64 /p:SolutionDir="$env:GITHUB_WORKSPACE\" /m - name: Determine version id: version -- 2.43.0