Skip to content

Commit

Permalink
Allow unauthenticated packages to be installed
Browse files Browse the repository at this point in the history
This is a proposed work around to the expired GPG issue with the GitHub CLI packages - cli/cli#9569.

The better fix is to support new keys, but this works and should be relatively safe as we know and mostly trust the source of the deb. 

It's a big improvement on the orb being broken as it is today.
  • Loading branch information
RichUnibuddy authored Sep 11, 2024
1 parent a8b7461 commit e7026ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ install_gh_cli() {

echo "Installing the GitHub CLI..."
if [ "$platform" == "linux_amd64" ]; then
set -x; $sudo apt install ./"$file_path"; set +x
set -x; $sudo apt --allow-unauthenticated install ./"$file_path"; set +x
else
set -x; $sudo tar -xf ./"$file_path" -C /usr/local/ --strip-components=1; set +x
fi
Expand Down

0 comments on commit e7026ea

Please sign in to comment.