Update github cli to use orb
This commit is contained in:
parent
54400c1e8b
commit
15ef1352e9
1 changed files with 2 additions and 9 deletions
|
@ -8,7 +8,7 @@ executors:
|
||||||
|
|
||||||
orbs: # Add orbs to your configuration
|
orbs: # Add orbs to your configuration
|
||||||
jira: circleci/jira@1.0.5 # invokes the Jira orb, making its commands accessible
|
jira: circleci/jira@1.0.5 # invokes the Jira orb, making its commands accessible
|
||||||
|
gh: circleci/github-cli@2.1
|
||||||
# The jobs for this project
|
# The jobs for this project
|
||||||
jobs:
|
jobs:
|
||||||
prepare-build:
|
prepare-build:
|
||||||
|
@ -111,14 +111,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: ~/Cider/
|
at: ~/Cider/
|
||||||
- run:
|
- gh/install
|
||||||
name: Installing GitHub Command Line Interface
|
|
||||||
command: |
|
|
||||||
sudo apt-get update -y
|
|
||||||
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-get update -y
|
|
||||||
sudo apt install -y gh
|
|
||||||
- run:
|
- run:
|
||||||
name: Move Build Files
|
name: Move Build Files
|
||||||
command: |
|
command: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue