Fix building .Net package (#280)
This commit is contained in:
6
.github/workflows/release-go.yaml
vendored
6
.github/workflows/release-go.yaml
vendored
@@ -2,15 +2,13 @@ name: release-go
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
description: "Version information(e.g., 1.5.3) or auto"
|
description: "Version information(e.g., v1.5.3) or auto"
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@@ -192,7 +190,7 @@ jobs:
|
|||||||
tree .
|
tree .
|
||||||
|
|
||||||
- name: Release go
|
- name: Release go
|
||||||
if: env.VERSION != ''
|
# if: env.VERSION != ''
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
./scripts/go/release.sh
|
./scripts/go/release.sh
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ namespace SherpaOnnx
|
|||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
public struct OfflineTdnnModelConfig
|
public struct OfflineTdnnModelConfig
|
||||||
{
|
{
|
||||||
public OfflineWhisperModelConfig()
|
public OfflineTdnnModelConfig()
|
||||||
{
|
{
|
||||||
Model = "";
|
Model = "";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user