File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,6 +126,15 @@ jobs:
126126 # Set environment variables for the build
127127 echo "PUBLIC_KEYFILE=${{ github.workspace }}\csharp\msbuild\ice-release-pub-key.snk" >> $env:GITHUB_ENV
128128 echo "KEYFILE=${{ github.workspace }}\csharp\msbuild\ice-release-key.snk" >> $env:GITHUB_ENV
129+
130+ # Add the .NET Framework SDK tools directory to PATH for sn.exe (strong name tool)
131+ $sdkToolsPath = "${env:ProgramFiles(x86)}\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8.1 Tools"
132+ if (Test-Path $sdkToolsPath) {
133+ Write-Host "Adding $sdkToolsPath to PATH"
134+ echo $sdkToolsPath >> $env:GITHUB_PATH
135+ } else {
136+ Write-Host "Warning: .NET Framework SDK tools path not found at $sdkToolsPath"
137+ }
129138 } else {
130139 Write-Host "Strong name signing keys not configured - assemblies will not be signed"
131140 }
@@ -172,5 +181,5 @@ jobs:
172181 with :
173182 name : dotnet-nuget-packages
174183 path : |
175- csharp/msbuild/zeroc.ice.net/ *.nupkg
176- csharp/msbuild/zeroc.ice.net/ *.snupkg
184+ csharp/msbuild/*.nupkg
185+ csharp/msbuild/*.snupkg
You can’t perform that action at this time.
0 commit comments