mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-09 18:11:48 +08:00
25 lines
748 B
YAML
25 lines
748 B
YAML
name: Install development tools
|
|
description: GitHub Action for installing development tools
|
|
|
|
inputs:
|
|
tool:
|
|
description: Tools to install (comma-separated list)
|
|
required: true
|
|
# default: #publish:tool
|
|
checksum:
|
|
description: Whether to enable checksums
|
|
required: false
|
|
default: 'true'
|
|
|
|
# Note:
|
|
# - inputs.* should be manually mapped to INPUT_* due to https://github.com/actions/runner/issues/665
|
|
# - Use GITHUB_*/RUNNER_* instead of github.*/runner.* due to https://github.com/actions/runner/issues/2185
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- run: bash --noprofile --norc "${GITHUB_ACTION_PATH:?}/main.sh"
|
|
shell: bash
|
|
env:
|
|
INPUT_TOOL: ${{ inputs.tool }}
|
|
INPUT_CHECKSUM: ${{ inputs.checksum }}
|