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 binary-name: description: 'The name or regex pattern (prefixed with ~) of the binary to search for within the asset. Defaults to the repository name.' required: false file-type: description: 'The type of the file to be downloaded (archive, package, or custom regex).' required: false default: 'archive' debug: description: 'When set to true, displays the contents of the unpacked archive or directory.' 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'