Skip to content

Commit

Permalink
install gh.
Browse files Browse the repository at this point in the history
  • Loading branch information
azhard4int authored Jan 8, 2025
1 parent 1df863c commit c9bcbd8
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/cd-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,12 @@ jobs:
# Important to fetch full history so we can see all tags
fetch-depth: 0

- name: Install the gh cli
uses: ksivamuthu/actions-setup-gh-cli@<VERSION>
with:
version: 2.24.3

- name: Install GitHub CLI
uses: cli/gh-action@v2
with:
version: latest
- name: Install GitHub CLI manually
run: |
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/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 install gh -y
# (A) Gather commits since the last 'plain' semver tag
- name: Gather commits
Expand Down

0 comments on commit c9bcbd8

Please sign in to comment.