Skip to content

Commit 40c245f

Browse files
committed
Test with action_path
1 parent 1e214c4 commit 40c245f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ runs:
2121
uses: actions/github-script@v7
2222
with:
2323
script: |
24-
const getWordPressVersions = require('./get-versions.js');
24+
const getWordPressVersions = require('${{github.action_path}}/get-versions.js');
2525
const inputNumber = '${{ inputs.number }}';
2626
const parsedNumber = parseInt(inputNumber);
2727
const numberOfVersions = inputNumber === '' || isNaN(parsedNumber) ? 3 : parsedNumber;

0 commit comments

Comments
 (0)