From c9bcbd895e0b8c8afa479329fd6171a02dce9f50 Mon Sep 17 00:00:00 2001 From: Muhammad Azhar Date: Wed, 8 Jan 2025 12:20:02 +0300 Subject: [PATCH] install gh. --- .github/workflows/cd-develop.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cd-develop.yml b/.github/workflows/cd-develop.yml index e182c34..9240daa 100644 --- a/.github/workflows/cd-develop.yml +++ b/.github/workflows/cd-develop.yml @@ -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@ - 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