GitHub Action
Setup Binary Packages
v1.2.1
Latest version
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@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 }}"
INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
---|---|---|---|---|
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 |
OUTPUT | TYPE | DESCRIPTION |
---|---|---|
binary_path | string | Path to the installed binary |
- Free software: MIT license
If you feel generous and want to show some extra appreciation:
This package was created with Cookiecutter using cookiecutter-action
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.