Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hub is not available on GitHub actions #3338

Open
adriendupuis opened this issue Oct 5, 2023 · 2 comments
Open

hub is not available on GitHub actions #3338

adriendupuis opened this issue Oct 5, 2023 · 2 comments
Labels

Comments

@adriendupuis
Copy link

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.

@mislav
Copy link
Owner

mislav commented 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/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

@adriendupuis
Copy link
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.

ringabout added a commit to nim-lang/nightlies that referenced this issue Oct 9, 2023
CryoByte33 added a commit to CryoByte33/steam-deck-utilities that referenced this issue Oct 10, 2023
The default actions runner no longer contains the hub command: mislav/hub#3338

Install it manually.
ringabout added a commit to nim-lang/nightlies that referenced this issue Oct 10, 2023
ringabout added a commit to nim-lang/nightlies that referenced this issue Oct 10, 2023
mr-pennyworth added a commit to mr-pennyworth/alfred-fastest-emoji that referenced this issue Feb 6, 2024
Sometime between August and October 2023,
GitHub removed the `hub` CLI from their runners.
(mislav/hub#3338)
Which we use to upload the built workflows and
attach them to the release. In this change, we update
the build script to explicitly install `hub`.
mr-pennyworth added a commit to mr-pennyworth/alfred-fastest-emoji that referenced this issue Feb 6, 2024
Sometime between August and October 2023,
GitHub removed the `hub` CLI from their runners.
(mislav/hub#3338)
Which we use to upload the built workflows and
attach them to the release. In this change, we update
the build script to explicitly install `hub`.
tnyo43 added a commit to tnyo43/recommend-mobpro-action that referenced this issue Mar 3, 2024
* replace hub with gh

ref: mislav/hub#3338 (comment)
ref: https://docs.github.com/ja/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally?tool=cli#modifying-an-active-pull-request-locally

* comment out the condition to test the action in unmerged branch

* Revert "comment out the condition to test the action in unmerged branch"

This reverts commit 6434288.
jaamarks added a commit to NCI-CGR/GwasQcPipeline that referenced this issue May 30, 2024
The `hub` CLI tool has been removed from the runners themselves.
see: mislav/hub#3338
jaamarks added a commit to NCI-CGR/GwasQcPipeline that referenced this issue May 30, 2024
The `hub` CLI tool has been removed from the runners themselves.
see: mislav/hub#3338
jaamarks added a commit to NCI-CGR/GwasQcPipeline that referenced this issue May 30, 2024
The `hub` CLI tool has been removed from the runners themselves.
see: mislav/hub#3338
jaamarks added a commit to NCI-CGR/GwasQcPipeline that referenced this issue Jun 4, 2024
The `hub` CLI tool has been removed from the runners themselves.
see: mislav/hub#3338
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants