ci: install github cli

pull/3/head
sundowndev 2021-05-19 15:09:58 +02:00
parent 8b12bab7f0
commit e2c753ef4d
1 changed files with 12 additions and 6 deletions

View File

@ -8,18 +8,24 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Set up Go
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
-
name: Run GoReleaser
- name: Install github CLI
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97541F0
sudo apt-add-repository https://cli.github.com/packages
sudo apt update
sudo apt install gh
gh issue list
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest