This commit is contained in:
parent
ebca94ebc3
commit
0782130be5
@ -12,6 +12,13 @@ jobs:
|
|||||||
if: "!contains(github.event.head_commit.message, 'ActionPush')"
|
if: "!contains(github.event.head_commit.message, 'ActionPush')"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: 安装 GitHub CLI
|
||||||
|
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
|
||||||
|
|
||||||
- name: 删除本地仓库副本
|
- name: 删除本地仓库副本
|
||||||
env:
|
env:
|
||||||
REPO_NAME: ${{ github.event.repository.name }}
|
REPO_NAME: ${{ github.event.repository.name }}
|
||||||
|
Loading…
Reference in New Issue
Block a user