Skip to content

Commit

Permalink
build with netstandard2.0 for Linux and Windows (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed May 16, 2022
1 parent 3add778 commit ed0c5fe
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 28 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/minio-dotnet-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ jobs:
dotnet pack ./Minio/Minio.csproj --no-build --configuration Release --output ./artifacts
dotnet test ./Minio.Tests/Minio.Tests.csproj
# Build for all runtime identifiers
- name: Build for runtime identifiers
run: |
./dotnet-build.sh
# Execute all functional tests in the solution
- name: Execute Functional Tests
env:
Expand Down
4 changes: 1 addition & 3 deletions Minio/Minio.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
<LangVersion>latest</LangVersion>
<AssemblyName>Minio</AssemblyName>
<RootNamespace>Minio</RootNamespace>
<TargetFramework Condition=" '$(RuntimeIdentifier)' == 'win-x64' Or '$(RuntimeIdentifier)' == 'win-arm64'">netstandard2.0</TargetFramework>
<TargetFramework Condition=" '$(RuntimeIdentifier)' != 'win-x64' And '$(RuntimeIdentifier)' != 'win-arm64'">netstandard2.1</TargetFramework>
<TargetFramework>netstandard2.0</TargetFramework>
<DebugType>embedded</DebugType>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<AssemblyOriginatorKeyFile>..\Minio.snk</AssemblyOriginatorKeyFile>
Expand All @@ -29,7 +28,6 @@
<PackageTags>minio;cloud;storage</PackageTags>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/minio/minio-dotnet</RepositoryUrl>
<RuntimeIdentifiers>win-x64;win-arm64;linux-x64;linux-arm64</RuntimeIdentifiers>
</PropertyGroup>

<ItemGroup>
Expand Down
20 changes: 0 additions & 20 deletions dotnet-build.sh

This file was deleted.

0 comments on commit ed0c5fe

Please sign in to comment.