Skip to content

Commit

Permalink
Use GITHUB_WORKSPACE as path
Browse files Browse the repository at this point in the history
  • Loading branch information
ebronson68 committed Dec 9, 2024
1 parent 2ea41b9 commit dcc90d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ runs:
- name: Prettify code!
shell: bash
run: >-
PATH=$GITHUB_ACTION_PATH/node_modules/.bin:$PATH
PATH=$GITHUB_WORKSPACE/node_modules/.bin:$PATH
${{ github.action_path }}/entrypoint.sh
env:
INPUT_COMMIT_MESSAGE: ${{ inputs.commit_message }}
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ _git_changes() {
(
# PROGRAM
# Changing to the directory
cd "$GITHUB_ACTION_PATH"
cd "$GITHUB_WORKSPACE"

echo "Installing prettier..."

Expand Down

0 comments on commit dcc90d9

Please sign in to comment.