diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index cc01a875..e3eaa142 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -12,7 +12,9 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-dotnet@v1 with: - dotnet-version: 5.0.401 + dotnet-version: | + 5.0.x + 6.0.x - run: dotnet run -p build/build.csproj - uses: actions/upload-artifact@v2 with: diff --git a/build/Program.cs b/build/Program.cs index 307b6d7f..e0a972e2 100644 --- a/build/Program.cs +++ b/build/Program.cs @@ -52,7 +52,7 @@ class Program Run("dotnet", "build src/SharpCompress/SharpCompress.csproj -c Release"); }); - Target(Test, DependsOn(Build), ForEach("net5.0", "net461"), + Target(Test, DependsOn(Build), ForEach("net5.0", "net6.0", "net461"), framework => { IEnumerable GetFiles(string d) diff --git a/build/build.csproj b/build/build.csproj index 5cd0ceaf..8326a3aa 100644 --- a/build/build.csproj +++ b/build/build.csproj @@ -2,7 +2,7 @@ Exe - net5.0 + net6.0 diff --git a/global.json b/global.json index db3bce96..a3bb3f5e 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "5.0.300", + "version": "6.0.200", "rollForward": "latestFeature" } } \ No newline at end of file diff --git a/src/SharpCompress/SharpCompress.csproj b/src/SharpCompress/SharpCompress.csproj index c40cec46..d742ba29 100644 --- a/src/SharpCompress/SharpCompress.csproj +++ b/src/SharpCompress/SharpCompress.csproj @@ -6,7 +6,7 @@ 0.31.0 0.31.0 Adam Hathcock - net461;netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0 + net461;netstandard2.0;netstandard2.1;netcoreapp3.1;net5.0;net6.0 true false SharpCompress @@ -19,12 +19,13 @@ false false SharpCompress is a compression library for NET Standard 2.0/2.1/NET 5.0 that can unrar, decompress 7zip, decompress xz, zip/unzip, tar/untar lzip/unlzip, bzip2/unbzip2 and gzip/ungzip with forward-only reading and file random access APIs. Write support for zip/tar/bzip2/gzip is implemented. - 9 + latest enable true true true snupkg + true diff --git a/tests/SharpCompress.Test/SharpCompress.Test.csproj b/tests/SharpCompress.Test/SharpCompress.Test.csproj index de801011..a29b6d4a 100644 --- a/tests/SharpCompress.Test/SharpCompress.Test.csproj +++ b/tests/SharpCompress.Test/SharpCompress.Test.csproj @@ -1,6 +1,6 @@  - net5.0;net461 + net5.0;net6.0;net461 SharpCompress.Test ../../SharpCompress.snk true