mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-21 15:10:27 +00:00
Switch to composite action
This commit is contained in:
12
action.yml
12
action.yml
@@ -11,6 +11,14 @@ inputs:
|
||||
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: node16
|
||||
main: main.js
|
||||
using: composite
|
||||
steps:
|
||||
- run: bash --noprofile --norc "${GITHUB_ACTION_PATH:?}/main.sh"
|
||||
shell: bash
|
||||
env:
|
||||
INPUT_TOOL: ${{ inputs.tool }}
|
||||
INPUT_CHECKSUM: ${{ inputs.checksum }}
|
||||
|
||||
Reference in New Issue
Block a user