Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove CAPI and update Streaming APIs #19

Merged
merged 4 commits into from
Aug 20, 2024
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
8 changes: 3 additions & 5 deletions .github/workflows/build-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.x'
- name: Build the solution 🔨
run: dotnet build
- name: Run Unit Tests 🍴
run: dotnet test
- name: Create NuGet package 🌎
run: dotnet pack DolbyIO.Rest/DolbyIO.Rest.csproj -p:Configuration=Release
- name: Sign NuGet Package
Expand All @@ -29,7 +27,7 @@ jobs:
dotnet nuget sign DolbyIO.Rest.*.nupkg --certificate-path ./certificate.pfx --certificate-password ${{ secrets.WINDOWS_CERTIFICATE_PASSWORD}} --timestamper http://timestamp.digicert.com/
rm certificate.pfx
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nuget-package
path: DolbyIO.Rest/bin/Release
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -55,7 +55,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -68,6 +68,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: '/language:${{matrix.language}}'
8 changes: 3 additions & 5 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '6.x'
- name: Build the solution 🔨
run: dotnet build -p:Version=${{ env.VERSION }}
- name: Run Unit Tests 🍴
run: dotnet test
- name: Create NuGet package 🌎
run: dotnet pack DolbyIO.Rest/DolbyIO.Rest.csproj -p:Configuration=Release -p:Version=${{ env.VERSION }}
- name: Sign NuGet Package
Expand All @@ -31,7 +29,7 @@ jobs:
dotnet nuget sign DolbyIO.Rest.*.nupkg --certificate-path ./certificate.pfx --certificate-password ${{ secrets.WINDOWS_CERTIFICATE_PASSWORD}} --timestamper http://timestamp.digicert.com/
rm certificate.pfx
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nuget-package
path: DolbyIO.Rest/bin/Release
Expand Down
6 changes: 0 additions & 6 deletions DolbyIO-REST-APIs.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ VisualStudioVersion = 25.0.1703.5
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DolbyIO.Rest", "DolbyIO.Rest\DolbyIO.Rest.csproj", "{6EA9D0CC-8A04-4AF4-8E24-598377802881}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DolbyIO.Rest.Tests", "DolbyIO.Rest.Tests\DolbyIO.Rest.Tests.csproj", "{1A6EEC23-1691-42CB-B3B6-FFCF0DEA8C31}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -17,10 +15,6 @@ Global
{6EA9D0CC-8A04-4AF4-8E24-598377802881}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6EA9D0CC-8A04-4AF4-8E24-598377802881}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6EA9D0CC-8A04-4AF4-8E24-598377802881}.Release|Any CPU.Build.0 = Release|Any CPU
{1A6EEC23-1691-42CB-B3B6-FFCF0DEA8C31}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1A6EEC23-1691-42CB-B3B6-FFCF0DEA8C31}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1A6EEC23-1691-42CB-B3B6-FFCF0DEA8C31}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1A6EEC23-1691-42CB-B3B6-FFCF0DEA8C31}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
48 changes: 0 additions & 48 deletions DolbyIO.Rest.Tests/AuthenticationTests.cs

This file was deleted.

40 changes: 0 additions & 40 deletions DolbyIO.Rest.Tests/Communications/AuthenticationTests.cs

This file was deleted.

44 changes: 0 additions & 44 deletions DolbyIO.Rest.Tests/DolbyIO.Rest.Tests.csproj

This file was deleted.

1 change: 0 additions & 1 deletion DolbyIO.Rest.Tests/Usings.cs

This file was deleted.

3 changes: 0 additions & 3 deletions DolbyIO.Rest/AssemblyInfo.cs

This file was deleted.

101 changes: 0 additions & 101 deletions DolbyIO.Rest/Authentication.cs

This file was deleted.

Loading