Skip to content

Setup Binary Packages

Actions
GitHub Action to install Go/Rust binaries
v1.2.4
Latest
Star (4)

CI Update release version. Public workflows that use this action.

setup-bin

GitHub action to download and install go and rust binaries from github release artifacts created by goreleaser-action or rust-build.action.

...
    steps:
      - uses: actions/checkout@v2
      - name: Setup bin
        id: serup-bin-go
        uses: tj-actions/setup-bin@cc810cdd7ca2809436d6cd0c03614b049e787071 # v1
        with:
          language-type: 'go'
          repository-owner: [REPOSITORY_OWNER]
          repository: [REPOSITORY]
          
      - name: Show output
        run: |
          echo "setup-bin-go: ${{ steps.setup-bin-go.outputs.binary_path }}"

Inputs

INPUT TYPE REQUIRED DEFAULT DESCRIPTION
add-prefix-to-version string false "true" Add v to the version
if it doesn't have it
language-type string true Language type of package to
install: rust or go
repository string true Repository where the binary is
located
repository-owner string true Repository owner where the binary
is located
token string false "${{ github.token }}" GITHUB_TOKEN or a Repo scoped
PAT
version string false "latest" Version of the binary to
install

Outputs

OUTPUT TYPE DESCRIPTION
binary_path string Path to the installed binary

If you feel generous and want to show some extra appreciation:

Buy me a coffee

Credits

This package was created with Cookiecutter using cookiecutter-action

Report Bugs

Report bugs at https://github.com/tj-actions/setup-bin/issues.

If you are reporting a bug, please include:

  • Your operating system name and version.
  • Any details about your workflow that might be helpful in troubleshooting.
  • Detailed steps to reproduce the bug.

Setup Binary Packages is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

GitHub Action to install Go/Rust binaries
v1.2.4
Latest

Setup Binary Packages is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.