here we go again with this gh cli crap
This commit is contained in:
parent
37123412ae
commit
164478bb36
1 changed files with 5 additions and 2 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
|
@ -133,8 +133,11 @@ jobs:
|
||||||
- name: Install/Update GitHub CLI and Update PATH
|
- name: Install/Update GitHub CLI and Update PATH
|
||||||
run: |
|
run: |
|
||||||
gh --version
|
gh --version
|
||||||
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg
|
# Import the GitHub CLI public key directly using gpg
|
||||||
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
|
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | gpg --dearmor -o /tmp/githubcli-archive-keyring.gpg
|
||||||
|
sudo mv /tmp/githubcli-archive-keyring.gpg /usr/share/keyrings/githubcli-archive-keyring.gpg
|
||||||
|
|
||||||
|
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install gh --yes
|
sudo apt install gh --yes
|
||||||
gh --version
|
gh --version
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue