Giter Club home page Giter Club logo

gh-get's Introduction

๐Ÿ“ฆ GH-GET

GH-GET allows you to easily retrieve the latest artifact of a workflow from GitHub.

Arguments

  • -r/--repository: The repository containing the workflow
  • -u/--user: The owner of the repository
  • -a/--artifact: The name of your artifact (can be configured in the actions .yml)
  • -w/--workflow: The id of the workflow or the name of the actions .yml file
  • -o/--output: The output path. The file name will always follow this schema: ${artifactName}-${runNumber}.zip
  • -p/--pat: A personal access token with the repo permission
  • -f/--overwrite: Overwrite the old file instead of creating a new one? Changes the file schema to ${artifactName}.zip

Example

The following command

gh-get.exe -r=gh-get -u=m-radmacher -a=example -w="example.yml" -o="./" -p=ghp_

would fetch the latest artifact that was generated by the workflow described in example.yml. At the time of writing the fetched file is called example-2.zip, since the workflow has only been run twice.

gh-get's People

Contributors

dependabot[bot] avatar m-radmacher avatar

Stargazers

 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.