No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
github-actions[bot] 09a85a6902
Upgraded from v1.2.3 -> v1.2.4 (#46)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-02 15:06:36 -06:00
.github Update sync-release-version.yml 2025-08-02 15:01:19 -06:00
.gitattributes feat: test on all platforms (#10) 2023-05-12 09:04:53 -06:00
.gitignore Initial commit 2023-04-30 08:44:53 -06:00
action.yml update: to install git-cliff (#44) 2025-07-26 00:23:50 -06:00
CONTRIBUTING.md Initial commit 2023-04-30 08:44:53 -06:00
go-install.sh Update go-install.sh 2023-08-23 21:43:04 -06:00
HISTORY.md Upgraded from v1.2.3 -> v1.2.4 (#46) 2025-08-02 15:06:36 -06:00
LICENSE Initial commit 2023-04-30 08:44:53 -06:00
README.md Update README.md 2025-08-02 15:06:24 -06:00
rust-install.sh update: to install git-cliff (#44) 2025-07-26 00:23:50 -06:00

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.