Skip to content

A GitHub action to fetch a release asset from a given repo

Notifications You must be signed in to change notification settings

stryd/fetch-release-asset

Repository files navigation

fetch-release-asset

A GitHub action to fetch a release asset and store to the file system

Usage

See action.yml for inputs and descriptions

Basic:

steps: 
  uses: stryd/fetch-release-asset@v1
  with:  
    access_token: ${{ secrets.GH_TOKEN }}
    repo: "owner/repo"
    version: "latest"
    asset_name: "archive.tar.gz"