Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI設定 – Github Actions で複数のジョブでファイル・キャッシュを共有する #3609

Open
YumaInaura opened this issue Apr 26, 2024 · 0 comments

Comments

@YumaInaura
Copy link
Owner

YumaInaura commented Apr 26, 2024

概要

  • Github Actions では ジョブ ( jobs ) を複数に分けると並列実行が出来る
  • ジョブを分割するとそれぞれは別々のサーバー、別環境扱いになってしまい、そのままではファイルや環境の共有はされない。
  • キャッシュ機能やファイルのアップロード・ダウンロード機能を駆使することで、一部ファイルや状態の共有ができるようだ
  • ジョブは他のジョブが終わるのを待つことができて、好きな順序で順次実行することが出来る ( needs の指定 )。これによって「セットアップ用のジョブAが終わったら、ジョブB・ジョブCを実行する。全てが終わったらジョブDを最後に実行する」というようなことが可能だ。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant