From 7c405f10662114db6cfca53cc722dcb93b09814a Mon Sep 17 00:00:00 2001 From: Jeffrey Aven Date: Fri, 26 Apr 2024 07:47:52 +1000 Subject: [PATCH] windows runner fix --- action.yml | 6 +++--- lib/utils.js | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 0628ee9..d2385de 100644 --- a/action.yml +++ b/action.yml @@ -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'); @@ -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'); @@ -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: | diff --git a/lib/utils.js b/lib/utils.js index 07f7707..fc297d1 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -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 () => {