Closed yutotnh closed 1 year ago
下記コードは cd .. でcloneしたリポジトリのディレクトリの1つ上に移動して、ビルドしている
cd ..
コードから、やっていることとその目的がわかりづらい
https://github.com/yutotnh/spirit/blob/a5e80ef7984e3e19939a45a67dc6fc7f4891fc42/.github/workflows/build.yml#L66-L68
下記ページを参考に、移動を cd .. ではなく cd ${GITHUB_WORKSPACE} とする
cd ${GITHUB_WORKSPACE}
なぜ機能が欲しいのか
下記コードは
cd ..
でcloneしたリポジトリのディレクトリの1つ上に移動して、ビルドしているコードから、やっていることとその目的がわかりづらい
https://github.com/yutotnh/spirit/blob/a5e80ef7984e3e19939a45a67dc6fc7f4891fc42/.github/workflows/build.yml#L66-L68
提案の説明
下記ページを参考に、移動を
cd ..
ではなくcd ${GITHUB_WORKSPACE}
とするその他