Skip to content

hub is not available on GitHub actions #3338

Open

Description

@adriendupuis

Hi,

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.

https://github.com/mislav/hub#github-actions seems not true anymore.

Activity

  1. mislav commented on Oct 5, 2023

    @mislav
    Owner

    Thanks for letting me know. I've discovered this: actions/runner-images#8362

    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.

    Also, this might work: https://github.com/marketplace/actions/setup-hub

  2. adriendupuis commented on Oct 5, 2023

    @adriendupuis
    Author

    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.

  3. added a commit that references this issue on Oct 9, 2023
  4. added a commit that references this issue on Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions