Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ jobs:
dotnet test --no-restore CoseSignTool.MST.Plugin.Tests/CoseSignTool.MST.Plugin.Tests.csproj
dotnet test --no-restore CoseSignTool.IndirectSignature.Plugin.Tests/CoseSignTool.IndirectSignature.Plugin.Tests.csproj

# Build Release to catch issues the internal ADO pipeline would hit (e.g. netstandard2.0 API surface differences).
- name: Build Release
run: dotnet build --configuration Release CoseSignTool.sln

# List the contents of the working directory to make sure all the artifacts are there.
- name: List working directory
run: ${{ matrix.dir_command }}
Expand Down
2 changes: 1 addition & 1 deletion CoseSign1.Transparent.MST/MstServiceException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public static MstServiceException FromRequestFailedException(Azure.RequestFailed
{
var contentType = response.Headers.ContentType;

if (contentType?.Contains("cbor", StringComparison.OrdinalIgnoreCase) == true)
if (contentType?.IndexOf("cbor", StringComparison.OrdinalIgnoreCase) >= 0)
{
try
{
Expand Down
2 changes: 0 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,5 @@
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
<!-- Configure architecture for macOS ARM64 runners -->
<TestingPlatformArchitecture Condition="'$(OS)' == 'Unix' AND $([MSBuild]::IsOSPlatform('OSX'))">arm64</TestingPlatformArchitecture>
<!-- Alternative: Use RuntimeIdentifier on macOS -->
<RuntimeIdentifier Condition="'$(OS)' == 'Unix' AND $([MSBuild]::IsOSPlatform('OSX')) AND '$(RuntimeIdentifier)' == ''">osx-arm64</RuntimeIdentifier>
</PropertyGroup>
</Project>
Loading