Skip to content

A GitHub Action for downloading any binary available through GitHub Releases.

Notifications You must be signed in to change notification settings

XAMPPRocky/get-github-release

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-github-release

The get-github-release action allows you to get any binary release on GitHub. See actions.yml for configuration options.

Example

This example builds an mdbook project on linux.

- uses: XAMPPRocky/get-github-release@v1
  with:
    matches: unknown-linux-gnu
    owner: rust-lang
    repo: mdbook
    token: "${{ secrets.GITHUB_TOKEN }}"

Development

The action is written in NodeJS 12, and you can install the dependencies with:

npm install

Running

npm start

GitHub Actions requires all the dependencies to be committed, so before creating a commit you need to run:

npm run build

The command will bundle everything in dist/index.js. That file will need to be committed.

About

A GitHub Action for downloading any binary available through GitHub Releases.

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •