Skip to content

Commit

Permalink
windows runner fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyaven committed Apr 25, 2024
1 parent a2f4bd8 commit 7c405f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ runs:
- name: Setup auth
id: setup-auth
uses: actions/github-script@v6
uses: actions/github-script@v7.0.1
with:
script: |
const path = require('path');
Expand All @@ -73,7 +73,7 @@ runs:
AUTH_STR: ${{inputs.auth_str}}

- name: get stackql command
uses: actions/github-script@v6
uses: actions/github-script@v7.0.1
with:
script: |
const path = require('path');
Expand All @@ -88,7 +88,7 @@ runs:
VARS: ${{inputs.vars}}

- name: execute stackql command
uses: actions/github-script@v6
uses: actions/github-script@v7.0.1
id: exec-stackql
with:
script: |
Expand Down
1 change: 1 addition & 0 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ async function getStackqlCommand(core) {

let stackQLExecutable = "stackql"; // Default for non-Windows systems
const isWindows = process.platform === "win32";
core.info(`process.platform: ${process.platform}`);
isWindows ? core.info("running on Windows") : null;
if (isWindows) {
(async () => {
Expand Down

0 comments on commit 7c405f1

Please sign in to comment.