Skip to content

Commit f8096c7

Browse files
Merge pull request #11 from stackql/fix/demo-issue
fix issue in demo
2 parents 3ac5fa7 + f240725 commit f8096c7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

action.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ runs:
5555
uses: actions/github-script@v6
5656
with:
5757
script: |
58-
const {setupAuth} = require('./lib/utils.js')
58+
const path = require('path');
59+
const utilsPath = path.join(process.env.GITHUB_ACTION_PATH, 'lib', 'utils.js')
60+
const {setupAuth} = require(utilsPath)
5961
setupAuth(core)
6062
env:
6163
AUTH_FILE_PATH: ${{ inputs.auth_obj_path }}
@@ -65,7 +67,9 @@ runs:
6567
uses: actions/github-script@v6
6668
with:
6769
script: |
68-
const {getStackqlCommand} = require('./lib/utils.js')
70+
const path = require('path');
71+
const utilsPath = path.join(process.env.GITHUB_ACTION_PATH, 'lib', 'utils.js')
72+
const {getStackqlCommand} = require(utilsPath)
6973
getStackqlCommand(core)
7074
env:
7175
QUERY_FILE_PATH: ${{ inputs.query_file_path }}

0 commit comments

Comments
 (0)