Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.14 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.14 KB

setup-github-cli

Actions Status

This github action allows for installation of the Github CLI to be used in your actions pipeline.

It has support for Linux, MacOS and Windows runners.

gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code.

Usage

See action.yml

Basic:

steps:
- uses: actions/checkout@latest
- uses: ButterCam/setup-github-cli@master

- run: gh --version

Authorized calls to change things:

steps:
- uses: actions/checkout@v1

- name: Install Github
    uses: ButterCam/setup-github-cli@master
    
- name: run gh commands
    env:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    run: |
         gh release

License

The scripts and documentation in this project are released under the MIT License

Contributions

Contributions are welcome! See Contributor's Guide