File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,14 +33,11 @@ jobs:
3333 GITHUB_REPOSITORY : ${{ github.repository }}
3434 RELEASE_TAG : ${{ github.ref_name }}
3535
36- - name : Fix GitHub CLI apt repo codename for noble (Ubuntu 24.04)
37- run : |
38- sudo sed -i 's/noble/jammy/g' /etc/apt/sources.list.d/archive_uri-https_cli_github_com_packages-noble.list || true
39-
4036 - name : Install GitHub CLI
4137 run : |
42- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0
43- sudo apt-add-repository https://cli.github.com/packages
38+ curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
39+ sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
40+ 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
4441 sudo apt update
4542 sudo apt install -y gh
4643
You can’t perform that action at this time.
0 commit comments