-
Notifications
You must be signed in to change notification settings - Fork 295
Closed
Labels
Description
setup-cli@main ignores version input, installs latest instead
The setup-cli action ignores the specified version input and installs the latest CLI version.
Workflow config
- name: Install gh-aw CLI
uses: github/gh-aw/actions/setup-cli@main
with:
version: v0.51.6Logs
[INFO] Using specified version: v0.51.6
[INFO] Installed version: v0.52.1
-
Input received correctly:
INPUT_VERSION: v0.51.6 -
Action acknowledges the version:
[INFO] Using specified version: v0.51.6 -
But then installs via
gh extension install:[INFO] Attempting to install gh-aw using 'gh extension install'... [SUCCESS] Successfully installed gh-aw using gh extension install -
And the installed version is wrong:
[INFO] Installed version: v0.52.1
The bug is in the install.sh script. It's using gh extension install which apparently ignores the version parameter and installs the latest version. The script logs "Using specified version: v0.51.6" but then the actual gh extension install command doesn't respect that version constraint.
Reactions are currently unavailable