Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions .github/workflows/build-dotnet-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,15 @@ jobs:
# Set environment variables for the build
echo "PUBLIC_KEYFILE=${{ github.workspace }}\csharp\msbuild\ice-release-pub-key.snk" >> $env:GITHUB_ENV
echo "KEYFILE=${{ github.workspace }}\csharp\msbuild\ice-release-key.snk" >> $env:GITHUB_ENV

# Add the .NET Framework SDK tools directory to PATH for sn.exe (strong name tool)
$sdkToolsPath = "${env:ProgramFiles(x86)}\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8.1 Tools"
if (Test-Path $sdkToolsPath) {
Write-Host "Adding $sdkToolsPath to PATH"
echo $sdkToolsPath >> $env:GITHUB_PATH
} else {
Write-Host "Warning: .NET Framework SDK tools path not found at $sdkToolsPath"
}
} else {
Write-Host "Strong name signing keys not configured - assemblies will not be signed"
}
Expand Down Expand Up @@ -172,5 +181,5 @@ jobs:
with:
name: dotnet-nuget-packages
path: |
csharp/msbuild/zeroc.ice.net/*.nupkg
csharp/msbuild/zeroc.ice.net/*.snupkg
csharp/msbuild/*.nupkg
csharp/msbuild/*.snupkg