Skip to content

Commit 60b52c1

Browse files
try to fix windows by apply chatgpts suggestion
1 parent ce16f8b commit 60b52c1

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
@@ -57,7 +57,7 @@ runs:
5757
script: |
5858
const path = require('path');
5959
console.log('github action path is ==================', '${{github.action_path}}')
60-
const utilsPath = path.join('${{github.action_path}}', 'lib', 'utils.js')
60+
const utilsPath = path.join(`${{github.action_path}}`.replace(/\\/g, '/'), 'lib', 'utils.js')
6161
const {setupAuth} = require(utilsPath)
6262
setupAuth(core)
6363
env:

0 commit comments

Comments
 (0)