Skip to content

Commit fd067b4

Browse files
committed
fix: use action path
1 parent 58811ba commit fd067b4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/actions/determineNodeVersions/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@ outputs:
1212
runs:
1313
using: 'composite'
1414
steps:
15+
# Note: this is not typically how you would run javascript in an action
16+
# This is need so that we can get the correct node version used elsewhere
1517
- name: Set up Node
1618
uses: actions/setup-node@v4
1719
with:
1820
node-version: ${{ inputs.nodeVersionOverride }}
1921
- name: Run main script
2022
shell: bash
2123
id: node-versions
22-
run: node dist/index.js
24+
run: node ${{ github.action_path }}/dist/index.js
2325

0 commit comments

Comments
 (0)