Fangjun Kuang
Committed by GitHub

Fix building .Net package (#280)

@@ -2,15 +2,13 @@ name: release-go @@ -2,15 +2,13 @@ name: release-go
2 2
3 on: 3 on:
4 push: 4 push:
5 - branches:  
6 - - master  
7 tags: 5 tags:
8 - '*' 6 - '*'
9 7
10 workflow_dispatch: 8 workflow_dispatch:
11 inputs: 9 inputs:
12 version: 10 version:
13 - description: "Version information(e.g., 1.5.3) or auto" 11 + description: "Version information(e.g., v1.5.3) or auto"
14 required: true 12 required: true
15 13
16 env: 14 env:
@@ -192,7 +190,7 @@ jobs: @@ -192,7 +190,7 @@ jobs:
192 tree . 190 tree .
193 191
194 - name: Release go 192 - name: Release go
195 - if: env.VERSION != '' 193 + # if: env.VERSION != ''
196 shell: bash 194 shell: bash
197 run: | 195 run: |
198 ./scripts/go/release.sh 196 ./scripts/go/release.sh
@@ -69,7 +69,7 @@ namespace SherpaOnnx @@ -69,7 +69,7 @@ namespace SherpaOnnx
69 [StructLayout(LayoutKind.Sequential)] 69 [StructLayout(LayoutKind.Sequential)]
70 public struct OfflineTdnnModelConfig 70 public struct OfflineTdnnModelConfig
71 { 71 {
72 - public OfflineWhisperModelConfig() 72 + public OfflineTdnnModelConfig()
73 { 73 {
74 Model = ""; 74 Model = "";
75 } 75 }