You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Between august and today, hub has disappeared from actions/checkout@v2. My previously-working actions now ends with "hub: command not found". It's not available on actions/checkout@v3 or actions/checkout@v4 either.
It doesn't have anything to do with actions/checkout version. The CLI tool has been removed from the runners themselves. The workaround is to migrate to the gh (GitHub CLI) utility, or to download a hub binary manually via curl + tar. I will try to update the documentation.
As a quick fix, I added sudo apt install hub just before its usage. I'll take a look at actions/setup-hub which looks like a cleaner solution. Thank you for the tips.
Activity
mislav commentedon Oct 5, 2023
Thanks for letting me know. I've discovered this: actions/runner-images#8362
It doesn't have anything to do with
actions/checkoutversion. The CLI tool has been removed from the runners themselves. The workaround is to migrate to thegh(GitHub CLI) utility, or to download ahubbinary manually via curl + tar. I will try to update the documentation.Also, this might work: https://github.com/marketplace/actions/setup-hub
adriendupuis commentedon Oct 5, 2023
As a quick fix, I added
sudo apt install hubjust before its usage. I'll take a look atactions/setup-hubwhich looks like a cleaner solution. Thank you for the tips.Switch to gh from hub in workflows
Resolve issue with actions
migrate hub to gh
migrate hub to gh (#74)
Update build.yml
Install hub CLI on the runner in build.yml
replace hub with gh
replace `hub` command with `gh` (#10)
Migrate from `hub` to `gh` for uploading release
Migrate from `hub` to `gh` for uploading release
Migrate from `hub` to `gh` for uploading release
Migrate from `hub` to `gh` for uploading release