Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badaix committed Aug 19, 2024
1 parent ad91f79 commit 8fc26f6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,13 @@ jobs:
DEBIAN_FRONTEND: noninteractive
- name: Get GitHub cli
run: |
wget https://github.com/cli/cli/releases/download/v2.54.0/gh_2.54.0_linux_amd64.deb --output-document=$GITHUB_WORKSPACE/gh.deb
apt install $GITHUB_WORKSPACE/gh.deb
(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \
&& sudo mkdir -p -m 755 /etc/apt/keyrings \
&& wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
&& sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/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 install gh -y
- name: Checkout
uses: actions/checkout@v4
- name: Setup environment
Expand Down

0 comments on commit 8fc26f6

Please sign in to comment.