Skip to content

feat: 使用 Azure OpenAI 进行翻译 (#340) #331

feat: 使用 Azure OpenAI 进行翻译 (#340)

feat: 使用 Azure OpenAI 进行翻译 (#340) #331

Triggered via push November 2, 2024 19:21
Status Success
Total duration 2m 31s
Artifacts 1

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: OCRLibrary/ImageProcFunc.cs#L207
The variable 'gray' is declared but never used
build: TranslatorLibrary/ChatGPTTranslator.cs#L95
Unreachable code detected
build: TranslatorLibrary/ArtificialTranslator.cs#L199
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: TranslatorLibrary/ArtificialTranslator.cs#L199
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: TranslatorLibrary/ChatGPTTranslator.cs#L95
Unreachable code detected
build: OCRLibrary/TesseractOCR.cs#L2
The type name 'tesseract' only contains lower-cased ascii characters. Such names may become reserved for the language.
build: OCRLibrary/BaiduFanyiOCR.cs#L47
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build: OCRLibrary/BaiduGeneralOCR.cs#L29
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build: OCRLibrary/ImageProcFunc.cs#L207
The variable 'gray' is declared but never used
build: OCRLibrary/TencentOCR.cs#L68
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)

Artifacts

Produced during runtime
Name Size
artifact
26.9 MB