File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -47,12 +47,12 @@ jobs:
4747
4848 - name : Install GitHub CLI
4949 run : |
50- type -p curl >/dev/null || (apt update && apt install curl -y)
51- curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
52- && chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
53- && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
54- && apt update \
55- && apt install gh -y
50+ type -p curl >/dev/null || (sudo apt update && sudo apt install curl -y)
51+ curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
52+ && sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
53+ && 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 \
54+ && sudo apt update \
55+ && sudo apt install gh -y
5656
5757 - name : Authenticate GitHub CLI
5858 run : |
You can’t perform that action at this time.
0 commit comments