Files
setup-github-release/action.yml
Slawomir Koszewski 16555dfd7d
Some checks failed
Test Action / test (push) Failing after 4s
Implemented asset matching. Added a local test workflow.
2026-01-10 23:34:07 +01:00

22 lines
718 B
YAML

name: 'setup-github-release'
description: 'Install a tool from a GitHub release and add it to the PATH'
author: 'Slawomir Koszewski with GitHub Copilot assistance'
inputs:
repo-name:
description: 'The GitHub repository name (e.g., owner/repo)'
required: true
file-name:
description: 'The name or regex pattern (prefixed with ~) of the asset file to download.'
required: false
file-type:
description: 'The type of the file to be downloaded (archive, package, or custom regex).'
required: false
default: 'archive'
token:
description: 'The GitHub token to use for authentication'
required: false
default: ${{ github.token }}
runs:
using: 'node24'
main: 'dist/index.js'