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 f8d53fb commit 6c2f858Copy full SHA for 6c2f858
.github/workflows/dotnet-aot-check.yaml
@@ -20,13 +20,14 @@ jobs:
20
uses: actions/setup-dotnet@v4
21
with:
22
dotnet-version:
23
- - '8.0.x' # 这一行是第27行(对应你的报错行),重点检查缩进!
+ - '8.0.x'
24
25
- name: Restore dependencies
26
run: dotnet restore ./src/c#/GeneralUpdate.sln
27
28
- name: Check AOT compilation
29
- shell: ${{ matrix.os == 'windows-latest' ? 'pwsh' : 'bash' }}
+ # 修正:用引号包裹表达式,避免YAML解析器误判特殊字符(第29行)
30
+ shell: "${{ matrix.os == 'windows-latest' ? 'pwsh' : 'bash' }}"
31
run: |
32
dotnet publish ./src/c#/GeneralUpdate.Client/GeneralUpdate.Client.csproj \
33
-c Release \
0 commit comments