Skip to content

Commit 74cedae

Browse files
Copilotpelikhan
andcommitted
Simplify gh-aw installation steps
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent a05b7bd commit 74cedae

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

workflows/maintainer.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,9 @@ steps:
2727
- name: Checkout repository
2828
uses: actions/checkout@v4
2929

30-
- name: Install gh CLI
31-
run: |
32-
type -p curl >/dev/null || (sudo apt update && sudo apt install curl -y)
33-
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
34-
&& sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
35-
&& 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 \
36-
&& sudo apt update \
37-
&& sudo apt install gh -y
38-
3930
- name: Install gh-aw extension
4031
run: |
41-
gh extension install githubnext/gh-aw || gh extension upgrade githubnext/gh-aw
32+
gh extension install githubnext/gh-aw
4233
env:
4334
GH_TOKEN: ${{ github.token }}
4435

0 commit comments

Comments
 (0)