ci: build_xcframeworkとbuild_java_packageもmainで動かす#1230
Conversation
Hiroshiba
left a comment
There was a problem hiding this comment.
方針はLGTMで、あとは念の為にAIチェックしておくと良いかもくらいの気持ち!
(別にCopilot君信じてそのままマージでも良さそう)
There was a problem hiding this comment.
Pull request overview
This PR fixes a bug introduced in PR #1229 where the build_xcframework and build_java_package jobs were not running on the main branch. The fix adds the missing github.ref != 'refs/heads/main' condition to both jobs' if statements so they now correctly run on main branch, release events, and manual workflow_dispatch events (i.e., when IS_SIMPLE_TEST is false).
Key changes:
- Updated
build_xcframeworkjob condition to include main branch checks - Updated
build_java_packagejob condition to include main branch checks
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
https://github.com/VOICEVOX/voicevox_core/actions/runs/20047798262?pr=1230 voicevox_core/crates/voicevox_core_java_api/settings.gradle Lines 16 to 19 in bda6cb6 |
#1230 で`build_java_package`ジョブをmainブランチでも実行するようにしたが、 Java API artifactのアップロード条件に`deploy`チェックが残っていたため、 mainブランチへのpushでartifactがアップロードされず、ジョブが失敗していた。 `build_xcframework`のartifactアップロードと同様に、`deploy`条件を削除。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
#1230 で`build_java_package`ジョブをmainブランチでも実行するようにした が、Java API artifactのアップロード条件に`deploy`チェックが残っていたた め、mainブランチへのpushでartifactがアップロードされず、ジョブが失敗して いた。 `build_xcframework`のartifactアップロードと同様に、`deploy`条件を削除。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
内容
#1229 では
build_xcframeworkとbuild_java_packageが対象外になってしまったので、この二つも動くようにする。(#1229 (comment))
このPRでは問題箇所の修正のみに留める。
関連 Issue
その他