Skip to content

Commit

Permalink
🐛 Fix node action path in action.yml (#221)
Browse files Browse the repository at this point in the history
Changed the node path in Github action from a fixed path to a dynamic
path. This ensures that the action runs correctly irrespective of the
current working directory and project it is run in.

Signed-off-by: burgholzer <[email protected]>
  • Loading branch information
burgholzer authored Aug 14, 2023
1 parent 77f1590 commit a9b9208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ runs:
- name: Action
id: action
run: |
node dist/index.js
node ${{ github.action_path }}/dist/index.js
echo "{z3-root}={value1}" >> $GITHUB_OUTPUT
shell: ${{ (runner.os == 'Windows' && 'pwsh') || 'bash' }}
env:
Expand Down

0 comments on commit a9b9208

Please sign in to comment.