Git Product home page Git Product logo

shizhmsft / example-setup-gh Goto Github PK

View Code? Open in Web Editor NEW

This project forked from github-developer/example-setup-gh

0.0 0.0 0.0 170 KB

An example action, demonstrating how CLI authors may develop actions that allow setup their of CLIs on GitHub's hosted runners, using JavaScript

Home Page: https://git.io/setting-up-a-cli-on-github-s-hosted-runners

License: MIT License

JavaScript 100.00%

example-setup-gh's Introduction

โš™๏ธ setup-gh

An example action, demonstrating how CLI authors may develop actions that allow setup their of CLIs on GitHub's hosted runners, using JavaScript

About

This action, which is intended for demonstration use only, sets up the GitHub CLI, gh, on GitHub's hosted Actions runners.

This action can be run on ubuntu-latest, windows-latest, and macos-latest GitHub Actions runners, and will install and expose a specified version of the gh CLI on the runner environment.

Usage

Setup the gh CLI:

steps:
- uses: github-developer/setup-gh@v1

A specific version of the gh CLI can be installed:

steps:
- uses: github-developer/setup-gh@v1
  with:
    version:
      1.1.0

Inputs

The actions supports the following inputs:

  • version: The version of gh to install, defaulting to 1.2.0

Further reading

For information on Creating a JavaScript action, read the docs.

License

MIT.

example-setup-gh's People

Contributors

swinton avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.