Skip to content

Commit f240725

Browse files
use env var process.env.GITHUB_ACTION_PATH instead
1 parent 3135505 commit f240725

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ runs:
5656
with:
5757
script: |
5858
const path = require('path');
59-
console.log('github action path is ==================', process.env.GITHUB_ACTION_PATH)
6059
const utilsPath = path.join(process.env.GITHUB_ACTION_PATH, 'lib', 'utils.js')
6160
const {setupAuth} = require(utilsPath)
6261
setupAuth(core)
@@ -69,7 +68,7 @@ runs:
6968
with:
7069
script: |
7170
const path = require('path');
72-
const utilsPath = path.join('${{github.action_path}}', 'lib', 'utils.js')
71+
const utilsPath = path.join(process.env.GITHUB_ACTION_PATH, 'lib', 'utils.js')
7372
const {getStackqlCommand} = require(utilsPath)
7473
getStackqlCommand(core)
7574
env:

0 commit comments

Comments
 (0)