Skip to content

Commit d91cfcf

Browse files
committed
Update dotnet-aot-check.yaml
1 parent fdf94e0 commit d91cfcf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/dotnet-aot-check.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
- name: Check AOT compatibility
2121
run: |
2222
# 尝试以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 \
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 `
2727
--self-contained true
2828
continue-on-error: true # 允许命令失败,后续通过日志判断结果
2929

0 commit comments

Comments
 (0)