https://yossarian.net/til/post/any-program-can-be-a-github-actions-shell/

TIL: Any program can be a GitHub Actions shell

GitHub Actionsでは、`shell`キーワードを使って、`run:`ブロックを実行するシェルを指定できます。

`shell`には任意の実行可能ファイルを指定でき、GitHubはそれを使って`run`ブロックを実行します。

この機能を使うと、C言語をステップランナーとして使用したり、$PATHを動的に変更したりするなど、通常では考えられないようなことができます。

Reply to this note

Please Login to reply.

Discussion

No replies yet.