diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..2dab204
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,52 @@
+name: Release
+
+on:
+ pull_request:
+ branches: [ develop ]
+
+jobs:
+ Build:
+
+ env:
+ SOLUTION: 'iCL.DocumentConverter.sln'
+ BUILD_CONFIG: 'Release'
+
+ runs-on: [windows-latest]
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Setup MSBuild
+ uses: microsoft/setup-msbuild@v1
+
+ - name: Setup NuGet
+ uses: NuGet/setup-nuget@v1.0.5
+
+ - name: Restore NuGet packages
+ run: nuget restore $SOLUTION
+
+ - name: Get Git Version
+ run: |
+ dotnet tool install --global GitVersion.Tool --version 5.*
+ dotnet-gitversion
+ $json=dotnet-gitversion | ConvertFrom-Json
+ echo "BUILD_VERSION=$json.SemVer" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
+ shell: pwsh
+
+ - name: Build the Solution
+ run: msbuild $SOLUTION /p:Configuration=$env:BUILD_CONFIG /p:Version=$env:BUILD_VERSION
+
+ - name: Archive
+ uses: actions/upload-artifact@v2
+ with:
+ name: DocumentConverter.Plugin.nuget
+ path: ./src/DocumentPicker.Plugin/bin/Release/*.nupkg
+
+ # - name: Tag
+ # run: git tag $BUILD_VERSION
+
+ # - name: Tag Push
+ # run: git --tag push
+
+ # - name: Publish
+ # run: nuget push ./src/DocumentPicker.Plugin/bin/Release/*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.NUGET_API_KEY}}
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..178c0b8
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,29 @@
+name: Test
+
+on:
+ pull_request:
+ branches: [ develop ]
+
+jobs:
+ Build:
+ runs-on: [windows-latest]
+
+ env:
+ SOLUTION: 'iCL.DocumentConverter.sln'
+
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ dotnet-version: 6.0.x
+
+ - name: Setup MSBuild
+ uses: microsoft/setup-msbuild@v1
+
+ - name: Setup NuGet
+ uses: NuGet/setup-nuget@v1.0.5
+
+ - name: Restore NuGet packages
+ run: nuget restore $SOLUTION
+
+ - name: Execute unit tests
+ run: dotnet test .\tests\DocumentConverter.Tests\ --no-restore
\ No newline at end of file
diff --git a/src/DocumentPicker.IOS/DocumentPicker.IOS.csproj b/src/DocumentPicker.IOS/DocumentPicker.IOS.csproj
index 71a90b5..1a2bcd7 100644
--- a/src/DocumentPicker.IOS/DocumentPicker.IOS.csproj
+++ b/src/DocumentPicker.IOS/DocumentPicker.IOS.csproj
@@ -82,7 +82,7 @@
-
+
2.4.3.5
diff --git a/src/DocumentPicker.Plugin/DocumentConverter.Plugin.csproj b/src/DocumentPicker.Plugin/DocumentConverter.Plugin.csproj
index bd0f1f8..2d1d04d 100644
--- a/src/DocumentPicker.Plugin/DocumentConverter.Plugin.csproj
+++ b/src/DocumentPicker.Plugin/DocumentConverter.Plugin.csproj
@@ -1,12 +1,18 @@
-
+
netstandard2.0;MonoAndroid90;Xamarin.iOS10;uap10.0.17763
+ Optiq.DocumentConverter.PdfToSvg
+ 1.0.0
+
+ true
+
+
-
+
@@ -18,8 +24,6 @@
-
-
diff --git a/src/DocumentPicker.Sample/DocumentPicker.Samples.csproj b/src/DocumentPicker.Sample/DocumentPicker.Samples.csproj
index db7a39c..eb20ff2 100644
--- a/src/DocumentPicker.Sample/DocumentPicker.Samples.csproj
+++ b/src/DocumentPicker.Sample/DocumentPicker.Samples.csproj
@@ -5,7 +5,7 @@
-
+
diff --git a/src/DocumentPicker.UWP/DocumentPicker.UWP.csproj b/src/DocumentPicker.UWP/DocumentPicker.UWP.csproj
index 6a22a75..45ca2e3 100644
--- a/src/DocumentPicker.UWP/DocumentPicker.UWP.csproj
+++ b/src/DocumentPicker.UWP/DocumentPicker.UWP.csproj
@@ -153,7 +153,7 @@
6.2.14
-
+
2.4.3.5
diff --git a/tests/DocumentConverter.Benchmark/DocumentConverter.Benchmark.csproj b/tests/DocumentConverter.Benchmark/DocumentConverter.Benchmark.csproj
index 73b959a..491d4c9 100644
--- a/tests/DocumentConverter.Benchmark/DocumentConverter.Benchmark.csproj
+++ b/tests/DocumentConverter.Benchmark/DocumentConverter.Benchmark.csproj
@@ -36,7 +36,7 @@
-
+
diff --git a/tests/DocumentConverter.Tests/DocumentConverter.Tests.csproj b/tests/DocumentConverter.Tests/DocumentConverter.Tests.csproj
index 5dbd5c0..8f6fbd6 100644
--- a/tests/DocumentConverter.Tests/DocumentConverter.Tests.csproj
+++ b/tests/DocumentConverter.Tests/DocumentConverter.Tests.csproj
@@ -48,8 +48,8 @@
+
-
diff --git a/tests/DocumentConverter.Tests/DocumentConverterServiceTests.cs b/tests/DocumentConverter.Tests/DocumentConverterServiceTests.cs
index 8b7cfd1..ba15d96 100644
--- a/tests/DocumentConverter.Tests/DocumentConverterServiceTests.cs
+++ b/tests/DocumentConverter.Tests/DocumentConverterServiceTests.cs
@@ -1,7 +1,5 @@
using DocumentConverter.Plugin.Shared;
-using DocumentConverter.Plugin.Shared.Picker;
using DocumentConverter.Plugin.Shared.StreamProvider;
-using Moq;
using Shouldly;
using Svg;