mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-12 19:30:30 +02:00
Don't use the npm bin command to resolve the bin path
This commit is contained in:
@@ -61,7 +61,7 @@ runs:
|
|||||||
- name: Prettify code!
|
- name: Prettify code!
|
||||||
shell: bash
|
shell: bash
|
||||||
run: >-
|
run: >-
|
||||||
PATH=$(cd $GITHUB_ACTION_PATH; npm bin):$PATH
|
PATH=$GITHUB_ACTION_PATH/node_modules/.bin:$PATH
|
||||||
${{ github.action_path }}/entrypoint.sh
|
${{ github.action_path }}/entrypoint.sh
|
||||||
env:
|
env:
|
||||||
INPUT_COMMIT_MESSAGE: ${{ inputs.commit_message }}
|
INPUT_COMMIT_MESSAGE: ${{ inputs.commit_message }}
|
||||||
|
|||||||
Reference in New Issue
Block a user