22 lines
658 B
YAML
22 lines
658 B
YAML
name: 'setup-github-release'
|
|
description: 'Install a tool from a GitHub release and add it to the PATH'
|
|
author: 'GitHub Copilot'
|
|
inputs:
|
|
repo-name:
|
|
description: 'The GitHub repository name (e.g., owner/repo)'
|
|
required: true
|
|
file-name:
|
|
description: 'The name of the asset to download (or a regex pattern if use-regex is true)'
|
|
required: false
|
|
use-regex:
|
|
description: 'Whether to treat file-name as a regular expression'
|
|
required: false
|
|
default: 'false'
|
|
token:
|
|
description: 'The GitHub token to use for authentication'
|
|
required: false
|
|
default: ${{ github.token }}
|
|
runs:
|
|
using: 'node24'
|
|
main: 'dist/index.js'
|