Skip to content
play

GitHub Action

setup-binary

v4.0.1 Latest version

setup-binary

play

setup-binary

cache and install a binary to $PATH

Installation

Copy and paste the following snippet into your .yml file.

              

- name: setup-binary

uses: supplypike/setup-bin@v4.0.1

Learn more about this action in supplypike/setup-bin

Choose a version

setup-bin

Actions Status

This action sets up a binary in $PATH for use in actions

steps:
  - uses: actions/checkout@v4
  - uses: supplypike/setup-bin@v4
    with:
      uri: 'https://github.com/google/go-containerregistry/releases/download/v0.19.1/go-containerregistry_Linux_x86_64.tar.gz'
      name: 'crane'
      version: '0.19.1'

You can also run install scripts:

steps:
  - uses: actions/checkout@v4
  - uses: supplypike/setup-bin@v4
    with:
      uri: 'https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.0.30.zip'
          name: 'aws'
          version: '2.0.30'
          command: sudo ./aws/install