From 54eca59f198c54cd0aa977a0db4141dc0b46f5a4 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Thu, 17 Aug 2023 10:38:42 +0800 Subject: [PATCH] Fix building .Net package (#280) --- .github/workflows/release-go.yaml | 6 ++---- scripts/dotnet/offline.cs | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-go.yaml b/.github/workflows/release-go.yaml index 27596029..b922c0d7 100644 --- a/.github/workflows/release-go.yaml +++ b/.github/workflows/release-go.yaml @@ -2,15 +2,13 @@ name: release-go on: push: - branches: - - master tags: - '*' workflow_dispatch: inputs: version: - description: "Version information(e.g., 1.5.3) or auto" + description: "Version information(e.g., v1.5.3) or auto" required: true env: @@ -192,7 +190,7 @@ jobs: tree . - name: Release go - if: env.VERSION != '' + # if: env.VERSION != '' shell: bash run: | ./scripts/go/release.sh diff --git a/scripts/dotnet/offline.cs b/scripts/dotnet/offline.cs index c068bfb8..3d801439 100644 --- a/scripts/dotnet/offline.cs +++ b/scripts/dotnet/offline.cs @@ -69,7 +69,7 @@ namespace SherpaOnnx [StructLayout(LayoutKind.Sequential)] public struct OfflineTdnnModelConfig { - public OfflineWhisperModelConfig() + public OfflineTdnnModelConfig() { Model = ""; }