0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

GitHub ActionsでHello Worldが出ない

0
Last updated at Posted at 2026-04-22

はじめに

こちらの記事を参考にGitHub ActionsでHello Worldを出そうとしていたのですが、少し上手くいかず時間かかった部分があるので備忘録として残します。

問題

手順通りに進めたつもりでしたがActions左側のAll workflowsにHello Worldが出ませんでした。

スクリーンショット 2026-04-22 23.34.21.png

解決方法

.githubフォルダの配置位置が問題でした。
正しい位置に配置して再度pushしたら、正常にActions左側のAll workflowsにHello Worldが表示されるようになりました。

◾️間違い

github-actions-sample/.github/workflows/helloworld.yml

◾️正しい

.github/workflows/helloworld.yml

スクリーンショット 2026-04-23 0.02.09.png

おわりに

今まで.githubの配置位置についてあまり考えたことがなく、配置位置によっては上手く読み込まれないのをは勉強になりました。
今後はファイルの配置位置にも気を遣いながら作業を進めていきます!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?