GitHub ActionsでiOSビルドが失敗する
keiji opened this issue · comments
ARIYAMA Keiji commented
不具合の内容 / Describe the bug
https://github.com/cocoa-mhlw/cocoa/actions/runs/2514644820
/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/msbuild/Current/bin/NuGet.targets(131,5): error : Unable to find package Prism.DryIoc.Extensions. No packages exist with this id in source(s): MyNuget [/Users/runner/work/cocoa/cocoa/Covid19Radar/Covid19Radar.iOS/Covid19Radar.iOS.csproj]
/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/msbuild/Current/bin/NuGet.targets(131,5): error : Unable to find package TimeZoneConverter. No packages exist with this id in source(s): MyNuget [/Users/runner/work/cocoa/cocoa/Covid19Radar/Covid19Radar.iOS/Covid19Radar.iOS.csproj]
/Library/Frameworks/Mono.framework/Versions/6.12.0/lib/mono/msbuild/Current/bin/NuGet.targets(131,5): error : Unable to find package Newtonsoft.Json. No packages exist with this id in source(s): MyNuget [/Users/runner/work/cocoa/cocoa/Covid19Radar/Covid19Radar.iOS/Covid19Radar.iOS.csproj]
0 Warning(s)
31 Error(s)
Time Elapsed 00:00:04.53
Error: Process completed with exit code 1.
NuGetのリストア時に失敗している。
再現手順 / Steps to reproduce
GitHub ActionsでiOSビルドを実行する
期待される挙動 / Expected behavior
GitHub ActionsでiOSビルドが完了する
その他 / Additional context
runs-on
に指定しているmacos-latest
のイメージに更新があったのが原因の様子。すでにIssueもある( actions/runner-images#5768 )ので近日中に対応されることを期待したい。
ワークアラウンドとしてNugetConfigに直接nuget.orgを登録する方法があるので一応Pull Request #1045 をしておきます。
ARIYAMA Keiji commented
macos-latestの方は復活してないけど、cocoaの方は問題なくなったのでcloseします。
ARIYAMA Keiji commented
Azure Pipelineの方で不具合があったので、別の方法に切り替え中です。
ARIYAMA Keiji commented
なんかvirtual-environmentsのIssue見ると治ったみたいなのでworkaround消してみる