diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..9e8474a
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,27 @@
+name: .NET Build & Tests
+
+on:
+ push:
+ branches: [ "master" ]
+ pull_request:
+ branches: [ "master" ]
+
+jobs:
+ build:
+ name: Build and test
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - name: Setup .NET
+ uses: actions/setup-dotnet@v2
+ with:
+ dotnet-version: |
+ 6.0.x
+ 7.0.x
+ 8.0.x
+ - name: Restore dependencies
+ run: dotnet restore
+ - name: Build
+ run: dotnet build --no-restore
+ - name: Test
+ run: dotnet test --no-build --verbosity normal
\ No newline at end of file
diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml
new file mode 100644
index 0000000..5447dfa
--- /dev/null
+++ b/.github/workflows/nuget.yml
@@ -0,0 +1,32 @@
+name: .NET NuGET Publish
+
+on:
+ release:
+ types: released
+
+jobs:
+ nugetpush:
+ name: Build, test and push to NuGET
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - name: Setup .NET
+ uses: actions/setup-dotnet@v3
+ with:
+ dotnet-version: |
+ 6.0.x
+ 7.0.x
+ 8.0.x
+ - name: Restore dependencies
+ run: dotnet restore
+ - name: Build
+ run: dotnet build --no-restore
+ - name: Test
+ run: dotnet test --no-build --verbosity normal
+ - name: Publish to Nuget.org
+ run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.nuget_apikey }} -s https://api.nuget.org/v3/index.json
+ - name: Add Github Packages source
+ run: dotnet nuget add source --username cmdotcom --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/cmdotcom/index.json"
+ - name: Publish to Github Packages
+ run: dotnet nuget push **/*.nupkg -s github
\ No newline at end of file
diff --git a/CM.Voice.VoiceApi.Sdk.sln b/CM.Voice.VoiceApi.Sdk.sln
index 5562607..c07799f 100644
--- a/CM.Voice.VoiceApi.Sdk.sln
+++ b/CM.Voice.VoiceApi.Sdk.sln
@@ -13,6 +13,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.gitignore = .gitignore
LICENSE.md = LICENSE.md
README.md = README.md
+ .github/workflows/main.yml = .github/workflows/main.yml
+ .github/workflows/nuget.yml = .github/workflows/nuget.yml
EndProjectSection
EndProject
Global
diff --git a/CM.Voice.VoiceApi.Sdk/CM.Voice.VoiceApi.Sdk.csproj b/CM.Voice.VoiceApi.Sdk/CM.Voice.VoiceApi.Sdk.csproj
index e293e56..35ec3bf 100644
--- a/CM.Voice.VoiceApi.Sdk/CM.Voice.VoiceApi.Sdk.csproj
+++ b/CM.Voice.VoiceApi.Sdk/CM.Voice.VoiceApi.Sdk.csproj
@@ -1,29 +1,27 @@
- netstandard2.0
- mjepson
- 1.0.0
- SDK for use with the CM Voice API.
- https://github.com/CMTelecom/VoiceApiSdk
- CM Telecom
- http://cdn.cmtelecom.com/images/cm-nuget.png
- https://github.com/CMTelecom/VoiceApiSdk
+ netstandard2.0;net8.0
+ CM Talk
+ CM.com
+ CM Talk SDK
+ A software development kit to provide ways to interact with CM.com's Talk/Voice API.
+ voice, talk
+ https://github.com/cmdotcom/talk-sdk-dotnet
Github
- SDK, CM, VoiceAPI
- 2018 CM Telecom
- https://mit-license.org
- First version with support for sending instructions using a simple client.
+ $([System.DateTime]::UtcNow.Year) CM.com
+ LICENSE
+ https://cdn.cmtelecom.com/images/cm-nuget.png
+ 1.8.0
+ https://github.com/cmdotcom/talk-sdk-dotnet
+ en
+ true
+ 1.8.0
+ 1.8.0
-
-
- ..\..\..\..\Users\Michael.Jepson\.nuget\packages\newtonsoft.json\9.0.1\lib\netstandard1.0\Newtonsoft.Json.dll
-
-
-
diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj
index 1d98487..172ad33 100644
--- a/Tests/Tests.csproj
+++ b/Tests/Tests.csproj
@@ -1,7 +1,7 @@
- netcoreapp2.0
+ net8.0
false