@@ -24,10 +24,10 @@ jobs:
2424
2525 # macOS 架构(Intel和Apple Silicon)
2626 - os : macos-latest
27- target-frameworks : ' net9.0;net9.0 -maccatalyst' # 包含macOS特定框架
27+ target-frameworks : ' net9.0-maccatalyst' # 包含macOS特定框架
2828 runtime : ' osx-x64' # Intel芯片macOS
2929 - os : macos-latest
30- target-frameworks : ' net9.0;net9.0 -maccatalyst'
30+ target-frameworks : ' net9.0-maccatalyst'
3131 runtime : ' osx-arm64' # Apple Silicon芯片macOS
3232
3333 # iOS 10.14 x64架构
@@ -64,15 +64,11 @@ jobs:
6464 sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
6565
6666 # 还原依赖(包含运行时和平台特定依赖)
67- # - name: Restore dependencies
68- # run: dotnet restore AliFsmnVad/AliFsmnVad.csproj
69- # -p:TargetFrameworks='${{ matrix.target-frameworks }}'
70- # -p:RuntimeIdentifier=${{ matrix.runtime }}
71- # ${{ matrix.ios-version != '' && format('-p:IOSVersion={0}', matrix.ios-version) || '' }}
7267 - name : Restore dependencies
7368 run : dotnet restore AliFsmnVad/AliFsmnVad.csproj
69+ -p:TargetFrameworks='${{ matrix.target-frameworks }}'
7470 -p:RuntimeIdentifier=${{ matrix.runtime }}
75- ${{ matrix.ios-version != '' && format('-p:IOSVersion={0}', matrix.ios-version) || '' }} # 传递iOS版本(如果指定)
71+ ${{ matrix.ios-version != '' && format('-p:IOSVersion={0}', matrix.ios-version) || '' }} # 传递iOS版本(如果指定)
7672
7773 # # 构建指定架构和平台的版本
7874 # - name: Build (${{ matrix.runtime }})
0 commit comments