Skip to content

Commit a7612d3

Browse files
committed
Stage .NET
1 parent 09f5ec5 commit a7612d3

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

.github/workflows/dotnet-demos.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@ jobs:
3939
- name: Package restore
4040
run: dotnet restore
4141

42+
# *********** REMOVE AFTER RELEASE **********************
43+
- name: Pack binding for local ref
44+
run: dotnet pack -c Release
45+
working-directory: binding/dotnet
46+
47+
- name: Add binding to demo
48+
run: dotnet add package -s ../../../binding/dotnet/Orca/bin/Release Picovoice.Orca
49+
# ******************************************************
50+
4251
- name: .NET build file demo
4352
run: dotnet build -c FileDemo.Release
4453

@@ -85,6 +94,15 @@ jobs:
8594
- name: Package restore
8695
run: dotnet restore
8796

97+
# *********** REMOVE AFTER RELEASE **********************
98+
- name: Pack binding for local ref
99+
run: dotnet pack -c Release
100+
working-directory: binding/dotnet
101+
102+
- name: Add binding to demo
103+
run: dotnet add package -s ../../../binding/dotnet/Orca/bin/Release Picovoice.Orca
104+
# ******************************************************
105+
88106
- name: .NET build file demo
89107
run: dotnet build -c FileDemo.Release
90108

binding/dotnet/Orca/Orca.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>net6.0;netstandard2.0</TargetFrameworks>
4-
<Version>2.0.0</Version>
4+
<Version>2.0.1</Version>
55
<Authors>Picovoice</Authors>
66
<Company />
77
<Product>Orca Streaming Text-to-Speech Engine</Product>

binding/dotnet/Orca/Picovoice.Orca.netstandard2.0.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
1111
<Visible>false</Visible>
1212
</Content>
13-
<Content Include="$(MSBuildThisFileDirectory)pv_ypu_impl_cuda.dll">
14-
<Link>pv_ypu_impl_cuda.dll</Link>
13+
<Content Include="$(MSBuildThisFileDirectory)pv_ypu_impl_cuda_orca.dll">
14+
<Link>pv_ypu_impl_cuda_orca.dll</Link>
1515
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
1616
<Visible>false</Visible>
1717
</Content>

0 commit comments

Comments
 (0)