Open5

GitHub Actions で apt-get install を高速化したい

oieioioieioi
oieioioieioi

apt-get install をキャッシュするアクション https://github.com/awalsh128/cache-apt-pkgs-action

oieioioieioi

Non-file Dependencies
This action is based on the principle that most packages can be cached as a fileset. There are situations though where this is not enough.

複雑なパッケージだとうまくいかない…キャッシュ

oieioioieioi

/usr/bin にバイナリファイルはあるんだけど、postinstall script がちゃんと呼ばれていないっぽい

oieioioieioi

それにしてもcontainer registryはとても便利。GHAでDockerfileを管理して、これに変更があったらぱっとpushして他のアクションからこれを取り出せる。