We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdf94e0 commit d91cfcfCopy full SHA for d91cfcf
1 file changed
.github/workflows/dotnet-aot-check.yaml
@@ -20,10 +20,10 @@ jobs:
20
- name: Check AOT compatibility
21
run: |
22
# 尝试以AOT模式发布项目(以控制台应用为例)
23
- dotnet publish ./src/c#/GeneralUpdate.Client/GeneralUpdate.Client.csproj \
24
- -c Release \
25
- -r win-x64 \ # 根据运行系统选择运行时标识符(如 linux-x64、osx-x64)
26
- -p:PublishAot=true \
+ dotnet publish ./src/c#/GeneralUpdate.Client/GeneralUpdate.Client.csproj `
+ -c Release `
+ -r win-x64 ` # 根据运行系统选择运行时标识符(如 linux-x64、osx-x64)
+ -p:PublishAot=true `
27
--self-contained true
28
continue-on-error: true # 允许命令失败,后续通过日志判断结果
29
0 commit comments