Setup Github Lib
ActionsTags
(2)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.
See action.yml
Basic:
steps:
- uses: actions/checkout@latest
- uses: ButterCam/setup-github-cli@master
- run: gh --versionAuthorized 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 releaseThe scripts and documentation in this project are released under the MIT License
Contributions are welcome! See Contributor's Guide
Setup Github Lib is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.