0.2.0 • Published 2 years ago

fetch-artifact v0.2.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

fetch-artifact

This package contains a simple script that will download the latest version a GitHub artifact with a given name. The downloaded artifact will be placed in the current directory.

Usage

To download the most recent artifact named my-artifact from this repository and save the downloaded files to the current directory, run

npx fetch-artifact --repo timmorey/fetch-artifact --name my-artifact --token <my-personal-access-token> --runId 12345

Arguments

NameDescriptionRequired
repoThe combined owner and repository name. For example, timmorey/fetch-artifact.yes
nameThe artifact nameyes
tokenA personal access token that has "repo" scope.yes
runIdThe workflow run id that generated the artifact.no