【GitHub Actions】Workflow ubuntu-latestで動作しない
結論
待ってたら動いた。
発生メッセージ
Found online and idle hosted runner(s) in the current repository's organization account that matches the required labels: 'ubuntu-latest'
Waiting for a hosted runner in 'organization' to pick this job...

解決策
待ってたら動いたけど、バージョンはちゃんと指定した方が良いので直そう!
この記事の通りにやる。
before
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
after
jobs:
deploy:
name: Deploy
runs-on: ubuntu-18.04
修正後
ubuntu-18.04にしたらすぐ動いた。
(別にubuntu-latestのままでも2回目はすぐ動いたのかも。)

コメント