stryd/fetch-release-asset

Fetch an asset file from a private repo release

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
access_tokenA GitHub API access token, with repo & read:package permissions granted and access to the repo name provided in the dependency parameteryes
repoThe GitHub repo to fetch the asset from. Should be in the form `owner/repo`yes
versionThe release version for which to find an assetyes
asset_nameThe filename name of the saved release artifact to copyyes
save_asThe file path to save the asset file to. Defaults to `__dirname/${asset_name}
namedescription
locationThe location of the saved asset