Files
setup-github-release/action.yml
Slawomir Koszewski 95fbe95099
All checks were successful
Test Action / test (push) Successful in 15s
Update: Added debug input that displays contents of the downloaded archive.
2026-01-11 01:08:38 +01:00

26 lines
865 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'
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'