Skip to content

Commit

Permalink
Switch to composite action
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Feb 22, 2023
1 parent 0c4592b commit 367715e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 30 deletions.
12 changes: 10 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
28 changes: 0 additions & 28 deletions main.js

This file was deleted.

0 comments on commit 367715e

Please sign in to comment.